cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you using the Microsoft co-authoring beta for Dropbox? Share your feedback and learn more about it here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

rweckey
Explorer | Level 3
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,
1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff

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.

View solution in original post

3 Replies 3

Greg-DB
Dropbox Staff

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
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
Dropbox Staff

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    rweckey Explorer | Level 3
What do Dropbox user levels mean?