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

Invalid Request when using next page token #112

Open
swaterfall opened this issue Feb 7, 2018 · 2 comments
Open

Invalid Request when using next page token #112

swaterfall opened this issue Feb 7, 2018 · 2 comments

Comments

@swaterfall
Copy link

swaterfall commented Feb 7, 2018

Requesting the next page returns an invalid request, it looks like the param sensor=false is causing it as removing this from the url fixes the issue. Putting the param first also seems to fix the issue. Replacing & with & will also fix it.

@slimkrazy
Copy link
Owner

This doesn't seem right at all... How quickly are you requesting the next page after the first page has been returned?

"There is a short delay between when a next_page_token is issued, and when it will become valid. Requesting the next page before it is available will return an INVALID_REQUEST response"

@hendrikschneider
Copy link

hendrikschneider commented Apr 28, 2018

I had the same problem and tried around to find the time between requests. It didn't work for with a waiting time <= 100ms. 150ms works for me most of the time.

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

3 participants