Q:

iOS with Google Maps

I have integrated Google Maps SDK with iOS using Google Developers Console.
But when I run the app now, It gives me following error.
ClientParametersRequest failed, 3 attempts remaining (0 vs 5). 
Error Domain=com.google.HTTPStatus Code=400 "The operation couldn’t be completed.(com.google.HTTPStatus error 400.)" UserInfo=0xb83c2a0 {data=<CFData 0xc13d600 [0xe7a4d8]>{length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}

and then it says
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=0x94bf990 {data=<CFData 0x907df90 [0xe7a4d8]>
{length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}

I had requested for the key and I am using the same 40 characters key. I have also tried regenerating the key and then use it.
I have searched on net, some people say that "google SDK for iOS" should be enabled in "services".
That is also enabled in my case.
But nothing works. Has someone seen the same problem?

A:

My bundle was incorrect.
I changed the bundle at Google Maps Console, and then, generate a new key.

A:

You just need to verify if your key is correct and if your bundle identifier is correct in the  google api manager ... for this you can check your bundle identifier easily putting this line in some initial viewController viewDidLoad .. 
NSLog(@"Current identifier: %@", [[NSBundle mainBundle] bundleIdentifier]);

If everything is okay, and your issue continues, just wait ... the key takes about 1 to 2 hours to get up, and forget that thing about google email you when the key is enabled .. they just don't do it! 

A:

I have faced the same issue with the API KEY, until I realize that I have used unnecessary brackets in the API KEY initialization.
Be sure to write something like:
[GMSServices provideAPIKey:@"XXXXXX"];

instead of:
[GMSServices provideAPIKey:@"{XXXXXX}"];

