Getting PERMISSION_DENIED when using Google Maps Extended

Hi all,

I’m trying to use the Google Maps Extended plugin to validate addresses. I’ve followed the tutorial about setting up the map API keys here but I can’t seem to make the address validation call work. I keep getting the following response in the API call.

Any ideas of what I might be missing?

Thank you in advance.

You should add the url of Bubble app to the allowed list. Check this post:

I’ve already tried adding the URL and it didn’t work either, but in any case If there’s no URLs set up all requests are accepted. So basically a request could come from any host. I know it’s not a good practice security-wise, and I’m not planning on leaving it like that, but I’m trying to simplify the configuration as much as possible.

Can you share the configuration you have for the restriction so we can have a look

I’ve got a workflow step to call the address validation endpoint. The JS steps are there to show me the successful/error responses.

And in google this is the configuration is as follows, 2 API keys with no restrictions on any of them.

The configuration for the client key is exactly the same.

Hope that helps.

I meant the API keys in the plugin tab like below. Also make sure that your address is formatted as JSON SAFE

Ok that fixed the issue, the API key was missing there. I left it blank as it says (path), which made me think it was to configure something else :man_facepalming:

Thank you very much for the help!

This topic was automatically closed after 70 days. New replies are no longer allowed.