# Slot values getting duplicated

**URL:** <https://forum.rasa.com/t/slot-values-getting-duplicated/31137>\
**Category:** Rasa Open Source\
**Created:** [July 8, 2020, 9:34pm UTC](https://forum.rasa.com/t/slot-values-getting-duplicated/31137 "2020-07-08T21:34:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![readabhishek](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@readabhishek](https://forum.rasa.com/u/readabhishek)\
**Post date:** [July 8, 2020, 9:34pm UTC](https://forum.rasa.com/t/slot-values-getting-duplicated/31137/1 "2020-07-08T21:34:09Z")

</div>

I am using slot filling using Rasa Form. But the slots are setting twice and hence getting duplicate values.

**domain file**

entities:

- card4d

slots: card4d: type: unfeaturized auto\_fill: false forms:

- payment\_form

**nlu.md**

## intent:card4d\_entry

- 2345
- My card number is 6678
- card number is 2297

**stories.md**

- init\_payment
  - utter\_confirm\_intent
  - utter\_confirm\_payment

- affirm OR confirm\_payment\_intent
  - payment\_form
  - form{“name”: “payment\_form”}
  - form{“name”: null}
  - utter\_payment\_slots\_values
  - utter\_confirm\_proceed\_transaction

**actions.py**

class ActionPaymentForm(FormAction): def name(self) → Text: return “payment\_form”

```
@staticmethod
def required_slots(tracker: Tracker) -> List[Text]:
    return ["card4d"]

def submit(self, dispatcher: CollectingDispatcher,
        tracker: Tracker,
        domain: Dict[Text, Any],
) -> List[Dict]:
    dispatcher.utter_message(text="Great, Good Job!")
    return []

```

When I am testing the bot in Rasa X, I get the following E2E stories:

 ![E2E Stories](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/1/15194c65c29ef2426e2201f54c2e421a1b1026f5.jpeg) ![slots](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/e/e95886ebb2546d1d8477200b81032a21e1f7cf64.jpeg)

You see the slots are getting filled twice. Please let me know what mistake I am doing here. Thank you

---

<div class="post-metadata">

**Author:** ![Rashmi\_Vish](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rashmi_vish/32/8870_2.png) [@Rashmi\_Vish](https://forum.rasa.com/u/Rashmi_Vish)\
**Post date:** [August 26, 2020, 5:40pm UTC](https://forum.rasa.com/t/slot-values-getting-duplicated/31137/2 "2020-08-26T17:40:57Z")

</div>

Did you get solution???

---

<div class="post-metadata">

**Author:** ![Shaan27](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@Shaan27](https://forum.rasa.com/u/Shaan27)\
**Post date:** [November 26, 2020, 4:32pm UTC](https://forum.rasa.com/t/slot-values-getting-duplicated/31137/3 "2020-11-26T16:32:03Z")

</div>

I am also facing a similar error. My required slots are unitsize: type: unfeaturized minarea: type: unfeaturized maxarea: type: unfeaturized minbudget: type: unfeaturized maxbudget: type: unfeaturized When user enters the reply to utter\_ask\_unitsize, utter\_ask\_minarea, utter\_ask\_maxarea, utter\_ask\_minbudget, utter\_ask\_maxbudget these values are overlapping. Means the values entered for MaxBudget getting replaced by MinArea or unitsize getting replaced by someother slot value, etc. I am using tracker.get\_slot(“maxbudget”), to extract values. please suggest if you find any answer to the issue.

---

<div class="post-metadata">

**Author:** ![yennycheung](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yennycheung/32/12470_2.png) [@yennycheung](https://forum.rasa.com/u/yennycheung)\
**Post date:** [December 28, 2020, 9:06pm UTC](https://forum.rasa.com/t/slot-values-getting-duplicated/31137/4 "2020-12-28T21:06:03Z")

</div>

Check out the other thread in the forum, [The slot is filled as a list and how can we select to store it to database? - Rasa Open Source - Rasa Community Forum](http://forum.rasa.com/t/the-slot-is-filled-as-a-list-and-how-can-we-select-to-store-it-to-database/37857).
