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
Xalbat
4 years agoExplorer | Level 4
team_log/get_events sometimes missing the last event
I can't figure out the exact circumstances, but sometimes, when sending a team_log/get_events request, the latest event is missing in the answer.
We are using Dropbox's webhook system to get notifi...
- 4 years ago
Apologies for the lack of response here! (I wasn't notified of this post for some reason.)
Anyway, it can take some time to propagate events to the /2/team_log/get_events[/continue] results, so you may not always see the latest results immediately. So, in some cases like this, you may call before all of the latest events are available. If you're seeing this happen regularly and it's causing issues for your app, you may want to add a delay between receiving the webhook notification and calling /2/team_log/get_events[/continue].
Xalbat
Explorer | Level 4
Hello Greg-DB,
Sorry for the delayed answer, I had to work on another project for the last week.
As a temporary solution, we'll delay all of our requests to this endpoint. But I have to tell that this behaviour is a bit strange.
Dropbox notifies us of a new event, though the API can't tell us straight away what this event is.
I understand there surely are some limitations on your side, but is this something your team is looking to fix in the future ?
It would surely be way more practical if notifications and data were synchronized.
Greg-DB
4 years agoDropbox Staff
Thanks for the feedback! I can't make any promises, but I'll bring this up with the team to see if we can improve this in the future.
- Stricnis4 years agoExplorer | Level 4
+1 here
Any reason to notify when the data are not ready?
It would be acceptable to receive a notification several seconds/minutes after a file operation but receiving the notification before the file operation is registered is weird.
There should a be a technical constraint on your side but this forces client applications to implement a fix (delay the call to get_events) that will need to be rolled back once you will fix it.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,911 PostsLatest Activity: 5 hours agoIf 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!