Question

Odd bug with Google Maps API

Hello, I own these 3 domains:

http://www.renatovernucio.com.br/ http://www.renatorvernucio.com.br/ http://www.psicologoitaimbibi.com.br/

The three domains point to the same HTML, but Google Maps API works only with the first two domains. It is not working with the third domain, though it’s the same HTML. I’m using Digital Ocean’s DNS and all 3 domains have exactly the same configuration. Any idea what is going on?

Subscribe
Share

I had my console using firebug. maybe you need to register your gmail email to the Maps API. and register the name of your domain.


Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error Your site URL to be authorized: http://www.renatovernucio.com.br/

This most likely has no connection to DigitalOcean. Just a hint - check if you’ve allowed all of the above domains to use your API key.

Check again for misspellings.

@micalm, you were right. The error was related to the API key. I allowed all domains from Brazil, this is current my allowed domains:

*.com.br*

How could I allow only the 4 domains I mentioned in my original post?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Well, I guess I’ve already allowed all my 4 domains a few hours ago and the error persists. Am I doing something wrong? Here is a printscreen:

http://puu.sh/pM8HO/ee8e8dcdb4.png