# Form execution rejected if slot is not extracted

**URL:** <https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374>\
**Category:** Rasa Open Source\
**Created:** [September 1, 2021, 10:25pm UTC](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374 "2021-09-01T22:25:52Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [September 10, 2021, 3:05pm UTC](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374/21 "2021-09-10T15:05:24Z")

</div>

@thinkinnet Do you have the deny intent which is set of example I don’t know? Yes, I seen you have that’s why model is confused and taking deny intent which have high confidence value.

---

<div class="post-metadata">

**Author:** ![thinkinnet](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@thinkinnet](https://forum.rasa.com/u/thinkinnet)\
**Post date:** [September 10, 2021, 3:19pm UTC](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374/22 "2021-09-10T15:19:03Z")

</div>

So if I understand this correct… Forms is just automatic question asking until there happens something unexpected (no slot was set). Than the Form just exits… no question repeating anymore at all?

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [September 10, 2021, 3:26pm UTC](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374/23 "2021-09-10T15:26:34Z")

</div>

@thinkinnet

you need to validate the question mate, that will be the final solution I guess.

Please see this and try to implement for weekend and try change the deny and please make more clear story, remove mood, unhappy please. [How to Validate Form Input in Rasa | Rasa Tutorials - YouTube](https://youtu.be/CKn4ZBh9PpY)

I tried, but I am trying your story and me more confused with the mood\_happy etc and even intent. I tried. Please change some intent (words) and do share the new code please. I will again see your code. I hope you don’t mind?

@thinkinnet For basic form example : [Introduction to Rasa Forms | Rasa Tutorial - YouTube](https://youtu.be/U3an88fjFRc)

@thinkinnet using custom action [Simple Introduction to Custom Actions | Rasa Tutorial - YouTube](https://youtu.be/rvHg7N8ux2I) in this you can even apply if and else condition for your use case.

@thinkinnet I honestly want to help and solve your issue asap.

I hope this will help you more 🙂 Do let me know please if you having some issue.

---

<div class="post-metadata">

**Author:** ![thinkinnet](https://avatars.discourse-cdn.com/v4/letter/t/cc9497/32.png) [@thinkinnet](https://forum.rasa.com/u/thinkinnet)\
**Post date:** [September 10, 2021, 4:16pm UTC](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374/24 "2021-09-10T16:16:01Z")

</div>

Thanks a lot @nik202. I will try this weekend in our actual project. The thing is that I not really understand how to validate because the validation function will not be triggered if there is no entity recognized. But anyway I will try. Thanks a lot for now!

---

<div class="post-metadata">

**Author:** ![jegork](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jegork/32/17902_2.png) [@jegork](https://forum.rasa.com/u/jegork)\
**Post date:** [November 2, 2021, 11:15pm UTC](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374/25 "2021-11-02T23:15:07Z")

</div>

I am having an exactly the same problem, were you able to fix it?

---

<div class="post-metadata">

**Author:** ![jegork](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jegork/32/17902_2.png) [@jegork](https://forum.rasa.com/u/jegork)\
**Post date:** [November 2, 2021, 11:19pm UTC](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374/26 "2021-11-02T23:19:01Z")

</div>

In my case, I have a form that asks “Which city?”, and currently, in case the user responds e.g. with a number “1500” the form stops, while I want the bot to ask again “Which city?” and continue the form.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [November 3, 2021, 11:35am UTC](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374/27 "2021-11-03T11:35:56Z")

</div>

@jegork can you create the new thread for your issue and share some errors, codes or file? Thanks.

---

<div class="post-metadata">

**Author:** ![frostz](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@frostz](https://forum.rasa.com/u/frostz)\
**Post date:** [October 3, 2022, 11:12am UTC](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374/28 "2022-10-03T11:12:15Z")

</div>

hi, were u able to solve this issue? I am having the same problem. If user enters unexpected entry for a slot in form, actionexecutionrejection is raised and the form deactivates without asking the same question

[Previous page](https://forum.rasa.com/t/form-execution-rejected-if-slot-is-not-extracted/47374.md?page=1)
