Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

robhaswell's avatar
robhaswell
Explorer | Level 3
9 years ago
Solved

Webhooks delay - recommended wait time?

Hi, in reference to this: https://www.dropboxforum.com/t5/API-support/Webhooks-delay/td-p/145062

 

We're using include_media_info=true, and our strategy is going to be to action each webhook twice - immediately, and after a small number of seconds.

 

My question is what would a recommended number of seconds to wait before doing the second action would be? 5 seconds, 10 seconds? Do you have any metrics on this historical value over time?

 

Many thanks,

  • Unfortunately I don't have any specific metrics to share, nor is there a good value I can recommend. This delay will vary by account, and even over time for the same account, as it depends on how much file activity there is in the account.

    You may want to try a few values to see what works well for the users of your app in particular. Apologies I can't be of more help!

4 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago

    Unfortunately I don't have any specific metrics to share, nor is there a good value I can recommend. This delay will vary by account, and even over time for the same account, as it depends on how much file activity there is in the account.

    You may want to try a few values to see what works well for the users of your app in particular. Apologies I can't be of more help!

  • robhaswell's avatar
    robhaswell
    Explorer | Level 3
    9 years ago

    Thanks Greg, unfortunately we list a lot of accounts and I can't think of a way to accurately identify a miss. Perhaps you could begin tracking this metric so you can advise on a range in future?

     

    Also, would it be possible to think about moving the webhook to the end of your processing pipeline to resolve this problem altogether?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    Thanks for following up. I'll certainly send this along as a request to track some metrics around this to share, but I can't make any promises.

    Also, my understanding of the relevant backend systems here is that it unfortunately
    wouldn't be a simple fix like that to reconcile the webhook notifications and include_media_info availability.

About Dropbox API Support & Feedback

Node avatar for 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!