I am accessing Google Directory API to list all ChromeOS devices with maxResults set to 100 and pageToken to fetch the next page. Once the token expires, I refresh the token and try to continue with the page where i was stopped previously using old page token. I get 400 error code. Can any one let me know how can i resume to fetch the results once the token is renewed?
https://developers.google.com/admin-sdk/directory/v1/reference/chromeosdevices/list is the API