Google map javascript error (don't want to load)

Hi everybody,

I was supposed to launch my app today but I had an issue with google maps. when I want to preview my app, the map doesn’t want to load anymore :

So i went on the javascript console to understand what’s wrong. the console showed me this :

So i clicked on the link and followed google instructions… many times.
I have 5 or 6 API key now but nothing works.

Does someone has a solution about this issue ? i’m still a newly on bubble and I am completely lost…

Thank you very much !

are you getting your key from the google api console?, if you are are you enabling all maps api’s that are included in your app? java script api being one of them? have you tried adding your api key in your apps Settings > General tab?

I don’t know what to say… I went to general tab in my app settings. Two key where added, I just delete them because i wasn’t sure about their availability and… it works ! strange… but honestly I am just happy ! thank you very much :slight_smile:

anytime mate, make sure you add a url secrets before launch :slight_smile:

an url secrets, what do you mean ?

depending on your setup in the IAMADMIN console you can either add a secret to your calls to the api to make sure no one uses your keys and also set the referrer url (your app) so calls must come from that url…

Oh nice, thank you :slight_smile:

1 Like

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