Google Maps API Error

Hello,

I am trying to implement the autocomplete functionality via Google Map’s API. I followed the instruction video step by step, have all 5 of the APIs it mentions enabled, etc. When I test it out, I get this error:

google api error

The odd thing is, I have the domain listed in the API restrictions, per the Maps manual:

I contacted Bubble support, and they linked me to this forum post.

When I try to do what the post suggests (adding http:// or https://), Google is giving me a “invalid website domain”. I’m at a loss here. Am I just overlooking something super simple? I don’t understand how it could be invalid.

If anyone has any suggestions, I’m all ears! I appreciate any help or advice anyone can provide, and please let me know if you need any additional information!

Thank you!

I don’t think google allows for the * that you have at the end of your domain.

try adding the exact domain listed in the error message, then also add https://file-portal.bubbleapps.io/version-test and https://file-portal.bubbleapps.io/

1 Like

Ahhh, gotchya! That did the trick - which is really weird because I swear it had tips that specifically said wildcards could be used. Oh well, thank you so much!

I think some of their APIs allow wildcards, or that they may have removed that ability, but I do recall that I saw Google saying wildcards were accepted, but can not recall if that has changed or if it was just for specific APIs