Hey guys,
I have tried to update the rasa_core stack to 0.12.3, in documentation, you are saying the new enpoint is “http://localhost:5005/webhooks/rest/webhook” and in the body of message i send {‘sender’: sender, ‘message’ : message} but my rasa return this error:
rasa1_1 | 192.168.99.1 - - [2018-12-14 16:27:03] "POST /webhooks/rest/webhook HTTP/1.1" 500 444 0.011984
rasa1_1 | 2018-12-14 16:27:03 ERROR flask.app - Exception on /webhooks/rest/webhook [POST]
rasa1_1 | Traceback (most recent call last):
rasa1_1 | File "/opt/conda/envs/rasa-env/lib/python3.5/site-packages/flask/app.py", line 2292, in wsgi_app
rasa1_1 | response = self.full_dispatch_request()
rasa1_1 | File "/opt/conda/envs/rasa-env/lib/python3.5/site-packages/flask/app.py", line 1815, in full_dispatch_request
rasa1_1 | rv = self.handle_user_exception(e)
rasa1_1 | File "/opt/conda/envs/rasa-env/lib/python3.5/site-packages/flask_cors/extension.py", line 161, in wrapped_function
rasa1_1 | return cors_after_request(app.make_response(f(*args, **kwargs)))
rasa1_1 | File "/opt/conda/envs/rasa-env/lib/python3.5/site-packages/flask/app.py", line 1718, in handle_user_exception
rasa1_1 | reraise(exc_type, exc_value, tb)
rasa1_1 | File "/opt/conda/envs/rasa-env/lib/python3.5/site-packages/flask/_compat.py", line 35, in reraise
rasa1_1 | raise value
rasa1_1 | File "/opt/conda/envs/rasa-env/lib/python3.5/site-packages/flask/app.py", line 1813, in full_dispatch_request
rasa1_1 | rv = self.dispatch_request()
rasa1_1 | File "/opt/conda/envs/rasa-env/lib/python3.5/site-packages/flask/app.py", line 1799, in dispatch_request
rasa1_1 | return self.view_functions[rule.endpoint](**req.view_args)
rasa1_1 | File "/opt/conda/envs/rasa-env/lib/python3.5/site-packages/rasa_core/channels/channel.py", line 358, in receive
rasa1_1 | sender_id = self._extract_sender(request)
rasa1_1 | File "/opt/conda/envs/rasa-env/lib/python3.5/site-packages/rasa_core/channels/channel.py", line 326, in _extract_sender
rasa1_1 | return req.json.get("sender", None)
rasa1_1 | AttributeError: 'NoneType' object has no attribute 'get'