I suddenly started getting this error when initializing dialogflow,
react-native-dialogflow: Authentication Error: SyntaxError: Unexpected token o in JSON at position 1
Nothing has changed in the past 2 weeks with my implementation so I am not sure why I would suddenly get an error like this. I have tried blowing away node modules and reinstalling but it made no difference.
I suddenly started getting this error when initializing dialogflow,
react-native-dialogflow: Authentication Error: SyntaxError: Unexpected token o in JSON at position 1
Nothing has changed in the past 2 weeks with my implementation so I am not sure why I would suddenly get an error like this. I have tried blowing away node modules and reinstalling but it made no difference.
I am using V2, here is how I config:
I have doubled checked the data is correct before calling setConfiguration and it is fine,