node-red-web-nodes
node-red-web-nodes copied to clipboard
google directions broken
The directions node is no longer functional; it reports 'failed', and if one feeds it a valid message, it will state "Please supply an destination value".
Is this a known issue? Is this due to some API changes by Google?
I run into this problem, too. Is there any way to fix this?
same here since I upgraded package yesterday (from a version 0.1.x)
{"code":400,"message":"Please supply an destination value","status":"MISSING_VALUES"}
The error reporting is bad - on line 169 it tries to determine what the error is, and on 200 it ignores what it found and always reports the same "Please supply an destination value" error
Pull requests to fix it welcome
Any updates? Got the same problem
I believe this issue is due to a change in Google maps API billing. The requests will bounce back if the API is not validated with an up to date billing account. It's very easy to get it running if you go into https://console.cloud.google.com/ and set up a billing option. It's still free to use up to $200 worth of API calls/month, so you can still use this pretty regularly and not be charged. As soon as I setup the account and activated the Directions API, the node worked fine.