Open dids-reyes opened 3 years ago
I believe this typically means that the bot backend/Rasa backend is not sending a correct JSON/is not sending a JSON at all. Looks like the frontend/browser can not connect to your Rasa backend. Either it is a networking issue oder the backend is not running or does not have the right REST channel enabled.
I'm getting this error VM280:1 Uncaught (in promise) SyntaxError: Unexpected end of JSON input at Chatroom.js:1197 at h (Chatroom.js:520) at Generator._invoke (Chatroom.js:520) at Generator.t. [as next] (Chatroom.js:520)
at l (Chatroom.js:1197)
at a (Chatroom.js:1197)
Ask the API developer to include this in the headers:
"Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Credentials" : true
https://stackoverflow.com/a/43547095/10428502