Using Google Directions Node

I'm trying to familiarize with Google Directions Node after installing node-red-node-google and yes I read the information and added
-google API key
-filled origin and destination in lonlat without space
-mode to driving
-input an inject node

I always receive below in my debug panel when I inject. Mmm...may be I have done this in a wrong way :anguished:

5/15/2019, 5:58:56 PMnode: 2be13b4a.310774msg : Object
object
code: 400
message: "Please supply an destination value"
status: "MISSING_VALUES"

Since this is my first time of using google APIs and I'm wondering how to get this work. I was trying to find any similar thread/example to have an idea but I could not. Does anybody try to play with this node ?:thinking: Any suggestion or direction please...

Thank you !

I am having exactly the same issue. Are the node-red-google-nodes working at all? I get the same response out of the geocode node as well.

I suspect not; the last update to the directions scripts was about two years ago, and it was mainly cosmetic.

This was fixed for me by setting up a billing account in https://console.cloud.google.com. There's still a generous free quota for the maps API, but you'll need billing set up to get API calls to work.