Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete without location and radius and with strictbounds gives INVALID_REQUEST #119

Open
1140251 opened this issue May 11, 2021 · 0 comments

Comments

@1140251
Copy link

1140251 commented May 11, 2021

I can't call the autocomplete function without location and radius.
I copied the request made by the autocomplete function and performed it in postman to check what was wrong.
If I make any request with the flag strictbounds will look for the location and radius, but I don't want to specify one.

An example
https://maps.googleapis.com/maps/api/place/autocomplete/json?input=googleplex&strictbounds=false&key=my_key&sessiontoken=my_token

if removed the strictbounds it works
https://maps.googleapis.com/maps/api/place/autocomplete/json?input=googleplex&key=my_key&sessiontoken=my_token

Can you remove the flag strictbounds if no location and radius is specified?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant