Twitter: raymondcamden


Address: Lafayette, LA, USA

Getting a quota error with Google and you've barely touched your limit?

02-13-2013 4,330 views JavaScript 2 Comments

I spent the last 30 minutes or so trying to figure out why in the heck my simple Google Maps demo was giving me this error in the console:

This site has exceeded its usage quota for Google Maps JavaScript API v3. See here for details on usage limits: https://developers.google.com/maps/documentation/javascript/usage

The "site" in question was localhost and I knew I was nowhere near my 25,000 daily limit. In fact, the Google API Console reported 44 hits over the past 30 days. To make things even more maddening, when I intentionally included a bad API key I got the exact same error.

Turns out I had forgotten to enable Google Maps V3. This is done in the "Services" menu:

You must turn on API access on the relevant line:

Obvious, right? I just wish the console message had been actually helpful.

2 Comments

  • Commented on 02-13-2013 at 11:12 AM
    O, that is one of those one's you just through the puter out the window and call it a day. That pesky Google.
  • Patrick Whittingham #
    Commented on 02-19-2013 at 6:36 AM
    Don't you know that you should be a mind-reader :)

Post Reply

Please refrain from posting large blocks of code as a comment. Use Pastebin or Gists instead. Text wrapped in asterisks (*) will be bold and text wrapped in underscores (_) will be italicized.

Leave this field empty