Google Maps API V3 Invalid Key

Asked

Viewed 285 times

-3

I’m with the following error on my site as image below:

Imagem

I’ve already created the API key and nothing, I don’t know what might have happened.

My website is http://mdesign.ppg.br/2015/mdesign

Can someone help me?

  • I would advise you to take a look at the tour http://answall.com/tour and ask your question more succinctly.

  • Try to go in the Developers Console and see if your API is active in the Apis and Authentication session.

  • Jefsilva is already active.

2 answers

0

As the error itself informs:

Invalid or unauthorized key

By checking your script call, you forgot to add the parameter identifying the API: ?v=3

Exchange the:

<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyC0N5vxgEB5DM0S5kASQnR1clYdKgU4HUU&amp;sensor=false"></script>

For:

<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?v=3&key=AIzaSyC0N5vxgEB5DM0S5kASQnR1clYdKgU4HUU&amp;sensor=false"></script>
  • I made the change in the script, but the error still continues :/

0


Solved! I left no referrer in the options Credentials.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.