Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting error com.google.HTTPStatus code 400 while resolving the address using GMSReverseGeocodeResponse

I am trying to resolve the address (trying to convert latitude & longitude to readable address) using [[GMSGeocoder geocoder] reverseGeocodeCoordinate:{}];. I am not getting any response data and following error

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=0x17e080b0 {data={length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}

like image 991
Shrinivas Kulkarni Avatar asked Dec 20 '22 02:12

Shrinivas Kulkarni


1 Answers

I had the same issue. My problem was the Google Maps SDK for iOS wich was not enabled :/

So be carefull of the API key (and the associated bundle ID) and check if the right API is activated.

like image 158
Greensource Avatar answered May 19 '23 19:05

Greensource