Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Dinesh R.2
10 years agoNew member | Level 1
Webhooks delay
We have been using webhooks in our app for processing changes to a user's library. We have run into an issue with the v2 /list_folder/continue with cursor calls.
Whenever we get a user_id from webhooks, our app makes a call to the list_folder/continue API with the most recent cursor for the user (which we persist in our backend store). However, whenever we make this call we invariably get no entries back. We have noticed that we need to add a delay of 5 seconds or more to get the entries back.
I am wondering why there is such a noticeable lag to get the changes to a user's library. Also, our app is a "development" dropbox app. Would apps with "production" status have a more responsive experience when processing dropbox changes?
4 Replies
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
Production status wouldn't help here, as that just enables more users to connect to your app.
Are you using include_media_info=true when you originally get these cursors though?
- Dinesh R.210 years agoNew member | Level 1
That is correct. We need the media info.
- Greg-DB10 years ago
Dropbox Community Moderator
Thanks! That's likely the cause here then. The media information can take some time to generate, before which the entries can't be returned for these cursors. We're always working to keep these delays to a minimum, but they can vary. Unfortunately I don't have a perfect solution to offer here, but you may want to just automatically retry after a little time when this happens.
- Dinesh R.210 years agoNew member | Level 1
ok, thanks, Gregory! That makes sense. An automatic retry is what am planning to do for now, but it would be great if you could improve the experience at some point.
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!