Hi @theupstarters ,
I have a Googli API key that regularly works and has no restrictions. Now I tried to install your plugin “Google Maps Extended” as I wish to calculate the driving duration but, after setting the same API key in the plugin (both in the production and development fields) and setting everything, it doesn’t work and returns REQUEST_DENIED.
Here are some details.
I have address A and address B and a workflow that should calculate Distance & Duration
Hey guys,
After checking out some API documentation, I found out that during the initialisation of Google API on Bubble (the video tutorial : https://www.youtube.com/watch?v=ouGT55o68ho) they don’t mention enabling the distance matrix API which is necessary for the Google Maps extended API.
It should work with these changes. If you guys still have the problem reply to this thread. @bubble, Kindly include this in the tutorial you offer to set up Google maps API as it is important.
Anyone manage to resolve this? @antonio1 ? I am having this issue. Very certain I have set up all the required endpoints and auth properly but getting the REQUEST_DENIED error.
If anyone faces this problem, I think I might have found a cause. It seems like the plugin Google Maps Extender makes the API request from a URL other than your app’s domain URL. That means if you’ve set a restriction on HTTP referrers in the Google Developers Console, then the request will fail.
Yes, you just need to make sure you don’t have any restrictions on the URLs that can use the API. This is a setting in your Google Developer Console. Or you should use requestinspector to see the address that the Google Maps Extender makes the request from, and then whitelist that address too.
@simon12 i have some http referrers (website) restrictions in the Client Key, but not in the server key.
In the Client key I also have this .mydomain.com/ added as the Website restrictions.
Could you please tell me how to use the “requestinspector” to see the address that the Google Maps Extended makes the request from to add it to the whitelist?
Did you enabled the API in Google cloud console?
Did you attach and enable billing for Google project?
Do you have some restrictions set on the API key?
Hi! Yes I have been using the regular API Map for a couple of years, and get billed every month by Google. I have restrictions regarding server and client but I tried to unlock everything for test purposes but with no change unfortunately…