node-red-web-nodes icon indicating copy to clipboard operation
node-red-web-nodes copied to clipboard

google directions broken

Open vomov opened this issue 5 years ago • 6 comments

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?

vomov avatar Nov 13 '19 12:11 vomov

I run into this problem, too. Is there any way to fix this?

derfabianpeter avatar Feb 02 '20 10:02 derfabianpeter

same here since I upgraded package yesterday (from a version 0.1.x)

{"code":400,"message":"Please supply an destination value","status":"MISSING_VALUES"}

jschaeke avatar Feb 04 '20 19:02 jschaeke

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

evitiello avatar May 19 '20 05:05 evitiello

Pull requests to fix it welcome

dceejay avatar May 19 '20 09:05 dceejay

Any updates? Got the same problem

Floplosion05 avatar Nov 06 '20 15:11 Floplosion05

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.

optimalprimate avatar Jan 13 '21 10:01 optimalprimate