node-red-contrib-alexa-remote-cakebaked
node-red-contrib-alexa-remote-cakebaked copied to clipboard
Error: no JSON
like in the older remote2 plugin, i get this both errors sometimes...
Similar here, been battling this for ages and can't understand what's causing it or why.
I normally don't get it during authentication though but while running routines. Same commands, sometimes works for weeks, other times fails every day
Same here... I switched from node-red-contrib-alexa-remote2 to this repo, but getting same authentication failures. Failed to load... "No JSON". then after several attempts, I get the message "Authentication failed: "Timeout".
What I find works for me is the following workaround:
- In every flow with an Alexa Remote routine, I use a catch node specifying all of them.
- I use a switch node to examine the errors, e.g.no Json, Authentication failed: "no body", etc and execute an "initialise"
- if it's an error I haven't checked for, it goes to the debug line. If re-initalising cures it, it goes in the check list.