One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
ivan006
5 years agoHelpful | Level 6
dropbox webhook timeout multithread
My webhook is timing out because the process that is being run in responce to the webhook is too long. now i know what u thinking "why is the process such a long one" well it just is okay and it needs to be so please. is there a way to respond to the webhook to say "thank you" but continue the process afterwoulds. is this like multithreading or what?
- Greg-DB
Dropbox Staff
Yes, Dropbox expects your webhook URI to respond relatively quickly, so you should not perform the actual work to be done before responding to the webhook HTTPS request. You should have your server send the work off on to another thread so it can then send the HTTPS response quickly. There's some information about this under "Best practices" in the webhook documentation.
- ivan006Helpful | Level 6
how do u recommend multithreading in php? curl? exec?
- Greg-DB
Dropbox Staff
Unfortunately, exactly how you manage threads is outside the scope of support I can offer, as it's not about using the Dropbox API itself. Please refer to the documentation for your platform/programming language for information on how to use threads in your environment.
About Discuss Dropbox Developer & API
Make connections with other developers807 PostsLatest Activity: 2 days ago
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 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!