Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps API key may be invalid for your bundle ID

We have a Google API Key that have been working for the past few months but suddenly yesterday it stop working below is the error.

2013-09-20 23:01:36.483 SampleApp[907:a0b] Google Maps SDK for iOS cannot connect or validate APIKey: Error Domain=com.google.HTTPStatus Code=400 "The operation couldn’t be completed. (com.google.HTTPStatus error 400.)" UserInfo=0x18828d90 {data=<CFData 0x14d04c30 [0x6174ec8]>{length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}} 2013-09-20 23:01:36.484 SampleApp[907:a0b] Your key may be invalid for your bundle ID: com.company.SampleApp

We were not able to find the account that own of the API key. Is there a way that we can Contact the Google Maps API team to request for help in identifying the account and help resolve the issue?

like image 436
lxcid Avatar asked Sep 20 '13 16:09

lxcid


People also ask

Why is my Google Maps API key not working?

There are a several reasons why your google maps may not be working, the most common issue being no Google Map API key set or set incorrectly. To use the Google Maps JavaScript API, you must register your app project on the Google Cloud Platform Console and get a Google API key which you can add to your app.


2 Answers

I found that there is no difference for api key which surrounded with curly braces or not.

Please make sure "enable GoogleMap SDK for iOS"

You may also see reference

like image 97
sonicli Avatar answered Oct 12 '22 19:10

sonicli


step by step

1.- go Google ApisConsole

2.- select Services and activate Google Maps SDK for iOS

3.- later select API Access and Create new iOS key with your bundle identifier example com.example.myProject

4.- copy Api key in your Project  [GMSServices provideAPIKey:@"kajshdklasjhdakls_LTcJWZqpRJ1BQmHxX9i0lI"]; on AppDelegate

goodluck

like image 26
RΛUL QUISPE Avatar answered Oct 12 '22 20:10

RΛUL QUISPE