So the user fills out a form and then I ask if the info es correct, if not, then the user inputs the id of the slot he/she wants to change. Then I change the corresponding slot value to None and consequently activate the form so it will ask the slot that is None only. The problem is that I am getting an error.
rasa-core_1 | 2021-09-27 17:23:03 ERROR rasa.core.processor - Encountered an exception while running action 'contractor_form'.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
rasa-core_1 | Traceback (most recent call last):
rasa-core_1 | File "/opt/venv/lib/python3.7/site-packages/rasa/core/actions/action.py", line 671, in run
rasa-core_1 | json=json_body, method="post", timeout=DEFAULT_REQUEST_TIMEOUT
rasa-core_1 | File "/opt/venv/lib/python3.7/site-packages/rasa/utils/endpoints.py", line 155, in request
rasa-core_1 | response.status, response.reason, await response.content.read()
rasa-core_1 | rasa.utils.endpoints.ClientResponseError: 500, Internal Server Error, body='b'<!DOCTYPE html><meta charset=UTF-8><title>500 \xe2\x80\x94 Internal Server Error</title><style>html { font-family: sans-serif }</style>\n<h1>\xe2\x9a\xa0\xef\xb8\x8f 500 \xe2\x80\x94 Internal Server Error</h1><p>The server encountered an internal error and cannot complete your request.\n''
rasa-core_1 |
rasa-core_1 | The above exception was the direct cause of the following exception:
rasa-core_1 |
rasa-core_1 | Traceback (most recent call last):
rasa-core_1 | File "/opt/venv/lib/python3.7/site-packages/rasa/core/processor.py", line 751, in _run_action
rasa-core_1 | output_channel, nlg, temporary_tracker, self.domain
rasa-core_1 | File "/opt/venv/lib/python3.7/site-packages/rasa/core/actions/loops.py", line 26, in run
rasa-core_1 | events += await self.activate(output_channel, nlg, tracker, domain)
rasa-core_1 | File "/opt/venv/lib/python3.7/site-packages/rasa/core/actions/forms.py", line 669, in activate
rasa-core_1 | prefilled_slots, tracker, domain, output_channel, nlg
rasa-core_1 | File "/opt/venv/lib/python3.7/site-packages/rasa/core/actions/forms.py", line 403, in validate_slots
rasa-core_1 | validate_events = await _action.run(output_channel, nlg, _tracker, domain)
rasa-core_1 | File "/opt/venv/lib/python3.7/site-packages/rasa/core/actions/action.py", line 694, in run
rasa-core_1 | raise RasaException("Failed to execute custom action.") from e
rasa-core_1 | rasa.shared.exceptions.RasaException: Failed to execute custom action.