Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

rweckey's avatar
rweckey
Explorer | Level 3
1 year ago
Solved

Inquiry on /team_log/get_events Endpoint Behavior with Empty Events List and has_more True

I am reaching out regarding an issue we are encountering when calling the /team_log/get_events endpoint. Occasionally, we receive a response where the events list is empty, but has_more is returned ...
  • Greg-DB's avatar
    1 year ago

    Thanks for the feedback! I'll pass this along to the team.

     

    There isn't a specified minimum size of the GetTeamEventsResult.events list returned by /2/team_log/get_events[/continue] so it is possible and expected to get an empty list in some cases. Due to some technical details, this can occur, though I don't have more specific information to share on what scenarios might cause that. I also am not aware of plans to change that or the endpoint specification.

     

    That being the case, regardless of the size of the GetTeamEventsResult.events list, apps should always check the returned GetTeamEventsResult.has_more value and call back to /2/team_log/get_events/continue if it is true.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

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!