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

Including page_token leads to INVALID_REQUEST error for Places API requests #498

Open
piotrostr opened this issue Aug 27, 2023 · 1 comment · May be fixed by #499
Open

Including page_token leads to INVALID_REQUEST error for Places API requests #498

piotrostr opened this issue Aug 27, 2023 · 1 comment · May be fixed by #499
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@piotrostr
Copy link

The places_nearby and places methods accept a page_token parameter

gmaps.places_nearby(
    page_token=page_token,
    # ...
)

Including it raises googlemaps.exceptions.ApiError: INVALID_REQUEST exception

@piotrostr piotrostr added triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Aug 27, 2023
@piotrostr piotrostr linked a pull request Aug 27, 2023 that will close this issue
@wangela
Copy link
Member

wangela commented Aug 27, 2023

If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 so we can see what is popular when we triage.

@piotrostr Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants