react-places-autocomplete
react-places-autocomplete copied to clipboard
Server returned status code ZERO_RESULTS
Do you want to request a feature or report a bug? Bug Issue
What is the current behavior? Currently still in the process of finding a solution to the bug that occurred
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. In a project, I'm working on I installed code from react-places-autocomplete to perform a location search with keywords entered by the user.
Everything works normally, but when I search with the keyword "Arcadia Daanmogot" and choose the first option from the suggestions, I get an error "Server returned status code ZERO_RESULTS".
I got the error in the code line like this:
geocodeByAddress(address) .then((results) => { console.log(results, ' ====== RESULT') // getLatLng(results[0]) }) .catch(err => console.log(err, ' ERROR'))
I got the error when I run geocodeByAddress with the keyword "Arcadia Daanmogot" and choose the first option from the suggestions.
What is the expected behavior? Doing a normal search and getting a location that matches what the user wants.
Which versions of ReactPlacesAutocomplete, and which browser / OS are affected by this issue? For react-places-autocomplete, I used version 7.3.0. And for browser/OS are affected by this issue is all of browser/OS.
Please help my issue @hibiken