iOS with Google Maps

XYZ picture XYZ · Jul 15, 2013 · Viewed 14.1k times · Source

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?

Answer

L&#252;cks picture Lücks · Aug 30, 2013

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