Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Build an Interactive Website Google Maps Integration Adding Static Maps

January Johnson
January Johnson
23,855 Points

Google Maps Javascript API V3 API key not authorized/valid.

I have tried deleting and recreating the key, and the entire project. I have even updated billing information (which I really did not want to do. It suppose to be a simple key). My referers are set to any referer. Despite my efforts all I get is "The Google Maps API server rejected your request. This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console: Learn more: https://code.google.com/apis/console" Of course I have to put the img src address in the address bar of the browser to get that message Otherwise I have to have a <script> linking to google api and then I get this message upon refreshing, "Google has disabled use of the Maps API for this application. The provided key is not a valid Google API Key, or it is not authorized for the Google Maps Javascript API v3 on this site. If you are the owner of this application, you can learn about obtaining a valid key here: https://developers.google.com/maps/documentation/javascript/tutorial#api_key". Looking for assistance. Thanks.

Kern Tallett
Kern Tallett
10,012 Points

I have not personally come across this problem so all i can suggest is to contact google support here.

https://developers.google.com/maps/documentation/business/support#contacting_support

or try asking on stackoverflow.com which will be a site you will use more and more as you begin to code more and more.