# "TypeError: 'NoneType' object is not iterable" error comes when form submit execution

**URL:** <https://forum.rasa.com/t/typeerror-nonetype-object-is-not-iterable-error-comes-when-form-submit-execution/13882>\
**Category:** Rasa Open Source\
**Created:** [August 3, 2019, 7:18am UTC](https://forum.rasa.com/t/typeerror-nonetype-object-is-not-iterable-error-comes-when-form-submit-execution/13882 "2019-08-03T07:18:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prakash\_Raj](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/prakash_raj/32/4061_2.png) [@Prakash\_Raj](https://forum.rasa.com/u/Prakash_Raj)\
**Post date:** [August 3, 2019, 7:18am UTC](https://forum.rasa.com/t/typeerror-nonetype-object-is-not-iterable-error-comes-when-form-submit-execution/13882/1 "2019-08-03T07:18:42Z")

</div>

Following error come when form class execute submit function.

> [2019-08-03 12:37:24,493] ERROR in app: Exception on /webhook [POST] Traceback (most recent call last): File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 2292, in wsgi\_app response = self.full\_dispatch\_request() File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1815, in full\_dispatch\_request rv = self.handle\_user\_exception(e) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask\_cors/extension.py”, line 161, in wrapped\_function return cors\_after\_request(app.make\_response(f(\*args, \*\*kwargs))) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1718, in handle\_user\_exception reraise(exc\_type, exc\_value, tb) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/\_compat.py”, line 35, in reraise raise value File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1813, in full\_dispatch\_request rv = self.dispatch\_request() File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1799, in dispatch\_request return self.view\_functionsrule.endpoint File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask\_cors/decorator.py”, line 128, in wrapped\_function resp = make\_response(f(\*args, \*\*kwargs)) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/rasa\_core\_sdk/endpoint.py”, line 86, in webhook response = executor.run(action\_call) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/rasa\_core\_sdk/executor.py”, line 177, in run events = action(dispatcher, tracker, domain) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/rasa\_core\_sdk/forms.py”, line 411, in run events.extend(self.submit(dispatcher, temp\_tracker, domain)) TypeError: ‘NoneType’ object is not iterable 2019-08-03 12:37:24 ERROR flask.app - Exception on /webhook [POST] Traceback (most recent call last): File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 2292, in wsgi\_app response = self.full\_dispatch\_request() File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1815, in full\_dispatch\_request rv = self.handle\_user\_exception(e) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask\_cors/extension.py”, line 161, in wrapped\_function return cors\_after\_request(app.make\_response(f(\*args, \*\*kwargs))) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1718, in handle\_user\_exception reraise(exc\_type, exc\_value, tb) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/\_compat.py”, line 35, in reraise raise value File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1813, in full\_dispatch\_request rv = self.dispatch\_request() File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask/app.py”, line 1799, in dispatch\_request return self.view\_functionsrule.endpoint File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/flask\_cors/decorator.py”, line 128, in wrapped\_function resp = make\_response(f(\*args, \*\*kwargs)) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/rasa\_core\_sdk/endpoint.py”, line 86, in webhook response = executor.run(action\_call) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/rasa\_core\_sdk/executor.py”, line 177, in run events = action(dispatcher, tracker, domain) File “/home/aarbor\_01/anaconda3/lib/python3.6/site-packages/rasa\_core\_sdk/forms.py”, line 411, in run events.extend(self.submit(dispatcher, temp\_tracker, domain)) TypeError: ‘NoneType’ object is not iterable

I’m using rasa-nlu=0.14.6, rasa-core=0.13.6 versions.

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [August 4, 2019, 5:10pm UTC](https://forum.rasa.com/t/typeerror-nonetype-object-is-not-iterable-error-comes-when-form-submit-execution/13882/2 "2019-08-04T17:10:47Z")

</div>

Hi @Prakash_Raj! Can you please share the story for this form?
