Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intermittent Google maps api Authorization Error

Today we witnessed intermittent errors with google maps api on the browser.

Google has disabled use of the Maps for this application. The provided key is not a valid Google API Key, or it is not authorized for the Google Maps API Key, or it is not authorized for the Google Maps Javascript API V3 on this site.

On the developer console, all the map apis are enabled.

  • Also the "Google Maps JavaScript API v3" usage is well under the free 25k requests/day.
  • It's showing 100% success rate of all requests
  • Requests per second average on the graph is 0.025 maximum.

I am not sure what changed causing google maps api to throw this error.

We are using v3 api showing maps:

script.src = 'https://maps.google.com/maps/api/js?v=3&key='+mapKey+'&language=en-IN&sensor=true&libraries=places&callback=loadInfoBox';

Is there a way to know what is the actual cause of the error?

like image 213
Sunil Avatar asked Dec 15 '14 08:12

Sunil


1 Answers

According to the official issue tracker, this issue should be resolved now.

like image 60
lambshaanxy Avatar answered Oct 23 '22 17:10

lambshaanxy