Search code examples
iosobjective-cgoogle-mapsios7google-maps-sdk-ios

Error in integrating Google Map API to iOS Application


I am using the google map API for my iOS Application. Till yesterday it was working very fine but today the map is not loading and I am continuous getting the following errors :

ClientParametersRequest failed, 3 attempts remaining (0 vs 6). Error Domain=com.google.HTTPStatus Code=400 
"The operation couldn’t be completed. (com.google.HTTPStatus error 400.)" UserInfo=0x7f8b151ce8f0 
{data=<CFData 0x7f8b106eafd0 [0x10bf309a0]>{length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}

I have checked the bundle ID of my app at google console and it is same as it is in my application.

The Google API keys and browser keys are also same.

So, I am currently unable to find out what the error is. Any help or suggestion will be great.


Solution

  • Finally, I found a solution, not a good one but it worked. I went to google console and created a new app for my bundle ID and then it worked perfectly. I still don't know what was the exact issue with previous scenario.