google-maps-services-python icon indicating copy to clipboard operation
google-maps-services-python copied to clipboard

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

Open piotrostr opened this issue 2 years ago • 1 comments

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 avatar Aug 27 '23 16:08 piotrostr

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.

wangela avatar Aug 27 '23 16:08 wangela