I get the following error message:
Local server did not return a valid JSON response: undefined
It seems to appear if my GET-request needs around 7s to respond. In the console log right after this error message comes the correct response. But then it’s already to late and the google assistant shows an error.
- Request gets send
- error in console
- Response received
- Jovo Response send to google assistant
Do you know where I could catch this error and react to it? Or maybe extend some timeout? Right now it seems to be a matter of seconds. With 4s response time it works.
I use axios for my requests. But this error never reaches the catch block of the axios-request.