Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
brian q.
7 years agoHelpful | Level 6
webhook on file/folder restores missing?
Don't think a webhook is triggered on restore of any object to a registered app.
Delete's work fine, creation of folders/file all register fine via a webhook.
But if you use the web app to restore a previously deleted object, no hooks triggered.
This makes it hard to resync to our apps on restored files without doing a non-event driven method of syncing (ie polling the entire world of our user base).
3 Replies
- DBX_Robert7 years ago
Dropbox Staff
Brian, are you able to provide more detailed steps to reproduce the issue. I have tried to reproduce myself and am unable to. Any time I restore a deleted file or folder via the web interface, a webhook is triggered and received by my test app.
- brian q.7 years agoHelpful | Level 6
Sure.
1. User Logs into their dropbox account via an internet browser (ie chrome, firefox, etc)
2. User deletes a folder
3. User recovers the folder via online methods
Items 1 and 2 do end up firing proper webhooks. Item 3, does not fire any notifier, ie that we need to do whatever we need to do in cases of files being 'undeleted'
- Greg-DB7 years ago
Dropbox Community Moderator
We'll need to investigate this specifically. Please open an API ticket with the following information for a case where you've seen this so we can work on tracking this down:
- the app key
- the webhook URI
- the user ID
- the timestamp of the restoration
Thanks in advance!
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!