dialogflow-javascript-client
dialogflow-javascript-client copied to clipboard
Failed to load resource: the server responded with a status of 500
worked fine till yesterday now throwing error..
Failed to load resource: the server responded with a status of 500 () localhost/:1 Failed to load https://api.api.ai/v1/query?v=20150910: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3001' is therefore not allowed access. The response had HTTP status code 500. localhost/:1 Uncaught (in promise) Error at ApiAiRequestError.ApiAiBaseError (bundle.js:42080) at new ApiAiRequestError (bundle.js:42108) at TextRequest.handleError (bundle.js:42249)
i have the same problem... is there have any solution??? help....
see this post : https://github.com/dialogflow/dialogflow-javascript-client/issues/103#issuecomment-429536937