I’m getting an error in Rasa interactive that I can only sometimes recreate.
2022-01-30 15:07:46 ERROR rasa.server - An unexpected error occurred. Error: 'NoneType' object has no attribute 'get'
2022-01-30 15:07:46 ERROR rasa.core.training.interactive - An exception occurred while recording messages.
It occurs when trying to fill a slot on a particular form, but also sometimes happens when calling a custom action. The weird thing is that the action server isn’t triggered, so I know it’s not a problem with actions.py.
Not sure what to do. Happy to provide any other info. Thanks. The full error is pasted below
2022-01-30 15:07:46 ERROR rasa.server - An unexpected error occurred. Error: 'NoneType' object has no attribute 'get'
2022-01-30 15:07:46 ERROR rasa.core.training.interactive - An exception occurred while recording messages.
Traceback (most recent call last):
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/rasa/core/training/interactive.py", line 1498, in record_messages
await _enter_user_message(conversation_id, endpoint)
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/rasa/core/training/interactive.py", line 1341, in _enter_user_message
await send_message(endpoint, conversation_id, message)
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/rasa/core/training/interactive.py", line 161, in send_message
return await endpoint.request(
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/rasa/utils/endpoints.py", line 173, in request
raise ClientResponseError(
rasa.utils.endpoints.ClientResponseError: 500, Internal Server Error, body='b'{"version":"3.0.4","status":"failure","message":"An unexpected error occurred. Error: \'NoneType\' object has no attribute \'get\'","reason":"ConversationError","details":{},"help":null,"code":500}''
2022-01-30 15:07:46 ERROR asyncio - Task exception was never retrieved
future: <Task finished name='Task-6' coro=<SignalRouter._dispatch() done, defined at /Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/sanic/signals.py:102> exception=ClientResponseError('500, Internal Server Error, body=\'b\'{"version":"3.0.4","status":"failure","message":"An unexpected error occurred. Error: \\\'NoneType\\\' object has no attribute \\\'get\\\'","reason":"ConversationError","details":{},"help":null,"code":500}\'\'')>
Traceback (most recent call last):
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/sanic/signals.py", line 133, in _dispatch
retval = await maybe_coroutine
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/sanic/app.py", line 1374, in run_delayed_task
await prepped
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/rasa/core/training/interactive.py", line 1594, in run_interactive_io
await record_messages(
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/rasa/core/training/interactive.py", line 1498, in record_messages
await _enter_user_message(conversation_id, endpoint)
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/rasa/core/training/interactive.py", line 1341, in _enter_user_message
await send_message(endpoint, conversation_id, message)
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/rasa/core/training/interactive.py", line 161, in send_message
return await endpoint.request(
File "/Users/gregoryferenstein/Dropbox/visualstudiostest/selfbot/venv/lib/python3.8/site-packages/rasa/utils/endpoints.py", line 173, in request
raise ClientResponseError(
rasa.utils.endpoints.ClientResponseError: 500, Internal Server Error, body='b'{"version":"3.0.4","status":"failure","message":"An unexpected error occurred. Error: \'NoneType\' object has no attribute \'get\'","reason":"ConversationError","details":{},"help":null,"code":500}''