marlove / react-native-geocoding

MIT License
208 stars 54 forks source link

INVALID_REQUEST #44

Open kodeandoec opened 3 years ago

kodeandoec commented 3 years ago

I have error

{"code": 4, "message": "Error from the server while geocoding. The received datas are in the error's 'origin' field. Check it for more informations.", "origin": {"error_message": "Invalid request. Invalid 'latlng' parameter.", "results": [], "status": "INVALID_REQUEST"}}

haridevks commented 3 years ago

I also have the same issue. By the way how are you passing the lat and long? Did you convert it to float and then pass it?

kodeandoec commented 3 years ago

I also have the same issue. By the way how are you passing the lat and long? Did you convert it to float and then pass it?

Fix the problem by transforming it to float

haridevks commented 3 years ago

Tried that but the issue still persists. Will check it one more time and will share the response here

tfcongpt commented 1 year ago

Edit API key Application restrictions to none in google map console