Google compute routes api
Status: Closed · Asked by Dan Cook on · 0 views
I am having issues getting the https://routes.googleapis.com/directions/v2:computeRoute api working.
I get the errors shown in the image. I believe it is down to the structure google expects the api to be in and the parameters being used the body doesn't work.
Any suggestions or workarounds besides using the google maps module?
https://connect.pabbly.com/workflow/mapping/IjU3NjYwNTZiMDYzNjA0MzM1MjZiNTUzNDUxMzYi_pc

Hello @dan90,
Please try changing the action event method to Custom Request. Once selected, a Data field will appear in the action step—kindly add the request body there.
If the issue persists, please share the API documentation with us so we can review it further and assist you more effectively.

Amazing thank you for providing this. I never even noticed the custom request in the past.
This will help with a lot of other workflows where I was stuck.
Hello @dan90,
You're welcome. Glad we could have helped.