chatroom
chatroom copied to clipboard
Unexpected end of JSON input
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.
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
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.