You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

rweckey's avatar
rweckey
Explorer | Level 3
10 months ago

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 as True. Our company is attempting to integrate and analyze Dropbox logs using our SIEM product, Exabeam. Unfortunately, this issue is preventing a successful integration.

We had previously inquired about this matter and were informed that there are no plans for a correction. I would like to know if this behavior is considered part of the intended design or if it is recognized as a bug. 

Could you please inform us if there are any plans for addressing this issue? Additionally, are there any known causes for the empty list being returned despite has_more indicating more entries are available?

We appreciate your assistance in understanding and resolving this matter, as it is critical for our ongoing efforts to securely and effectively utilize Dropbox in conjunction with Exabeam.

Thank you for your time and support.

Best regards,
  • 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.

  • 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.

    • rweckey's avatar
      rweckey
      Explorer | Level 3

      We are attempting to utilize the existing functionality within the product to capture logs, but it seems our only options are to request the developers to modify the code to make decisions based on 'has_more', or to set up a server dedicated to capturing logs and then transferring them.

       

      The developers view this behavior as unexpected, so could you please ensure the documentation reflects that "an empty list can be returned even when has_more=True"?

      I will share this thread with the relevant parties.

       

      Thanks.

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        Thanks for the additional feedback! I'll share this with the team.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 8 hours ago
325 Following

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 or Facebook.

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!