alexa-reminders
alexa-reminders copied to clipboard
Error "Unexpected token S in JSON at position 1"
Hello,
Since last week, running the example code for the reminders.login() function gives me the error Unexpected token S in JSON at position 1
in the callback function. Does anybody know what the issue is?
I was also getting this. For me it seemed to be caused by the login timing out, though I guess invalid credentials could also be a cause. In the code there is a pause after login (at line 22). I increased this from to 2.5 seconds (1000 to 2500) and I'm now login is working every time. The call to setReminder is failing for me, but I guess that's a different issue!