googlemaps / google-maps-services-python

Python client library for Google Maps API Web Services
Apache License 2.0
4.56k stars 1.31k forks source link

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

Open piotrostr opened 1 year ago

piotrostr commented 1 year ago

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

wangela commented 1 year ago

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: 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.