Users.threads.list not returning all pages/threads

☆樱花仙子☆ 提交于 2020-01-06 14:43:18

问题


Calling Users.threads.list on a label with 162 threads with maxResults=50 so there should be 4 pages. Third page doesn't have a nextPageToken (even when specifically requested in fields) so I can't get the last page. Also, the third page only returns 46 threads. Tried includeSpamTrash=true didn't fix it. Verified results through the in-page API tester at https://developers.google.com/gmail/api/v1/reference/users/threads/list.

来源:https://stackoverflow.com/questions/26460654/users-threads-list-not-returning-all-pages-threads

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!