We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
josuegomes
3 years agoHelpful | Level 6
Check job status: how often and for how long
Hi,
I understand that some operations can be asynchronous (eg, /2/sharing/share_folder or /2/sharing/remove_folder_member).
My question is: how often should I check for the job status (/2...
- 3 years ago
There isn't a specific period you should use when polling a job status like this, but in general just a few seconds would be reasonable, say 1-3 seconds between calls to check. If you know it's a particularly large job and may take longer, you might want to make that a little longer.
If any particular job fails, the result should come back as 'failed'. Be sure to check the relevant documentation, e.g., for /2/sharing/check_job_status or /2/sharing/check_share_job_status, for the full information. Any particular job shouldn't stay 'in_progress' permanently, but if something does seem to be permanently stuck as 'in_progress', let us know so we can investigate.
Greg-DB
Dropbox Community Moderator
3 years agoThere isn't a specific period you should use when polling a job status like this, but in general just a few seconds would be reasonable, say 1-3 seconds between calls to check. If you know it's a particularly large job and may take longer, you might want to make that a little longer.
If any particular job fails, the result should come back as 'failed'. Be sure to check the relevant documentation, e.g., for /2/sharing/check_job_status or /2/sharing/check_share_job_status, for the full information. Any particular job shouldn't stay 'in_progress' permanently, but if something does seem to be permanently stuck as 'in_progress', let us know so we can investigate.
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!