Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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?
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?
That is correct. We need the media info.
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.
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.
Hi there!
If you need more help you can view your support options (expected response time for a 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!