Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
SportCorp
6 years agoNew member | Level 2
api.dropboxapi.com/2/team_log/get_events returns an empty list
calling api.dropboxapi.com/2/team_log/get_events returns an empty list with "has_more": true
{
"events": [],
"cursor": "AABCp00-V60AxTHN5J_Brex8tf5o0w9lXW8zmPz8ZTqZ7wg-1ubg1Skj2s6hyg6...
- 6 years ago
When you get 'has_more:true' back from /2/team_log/get_events, you need to call back to /2/team_log/get_events/continue using the returned 'cursor' (and so on). The exact page size for any single response from these endpoints is not guaranteed, so make sure you have that implemented so you can retrieve all of the results, which may take multiple calls.
If something isn't working though, e.g., if you paginate through all of the pages until you get 'has_more:false' but still haven't received the entries, please let me know so we can look into it.
Greg-DB
Dropbox Community Moderator
6 years agoWhen you get 'has_more:true' back from /2/team_log/get_events, you need to call back to /2/team_log/get_events/continue using the returned 'cursor' (and so on). The exact page size for any single response from these endpoints is not guaranteed, so make sure you have that implemented so you can retrieve all of the results, which may take multiple calls.
If something isn't working though, e.g., if you paginate through all of the pages until you get 'has_more:false' but still haven't received the entries, please let me know so we can look into it.
- SportCorp6 years agoNew member | Level 2
Thanks for the solution, though it is a weird behavior as it took about 7 pages (7 times continue) to get to useful data.
- dhyanP6 years agoNew member | Level 2
Did you end up figuring this out? I'm having the same issue.
- Greg-DB6 years ago
Dropbox Community Moderator
dhyanP It sounds like the original poster here did get this working by iterating through the different result pages as needed and indicated by the 'has_more' value. Please see my earlier comment for more information. Is that not working for you?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!