Forum Discussion

brian q.'s avatar
brian q.
Helpful | Level 6
7 years ago

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).

  • 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.'s avatar
      brian q.
      Helpful | 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-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        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 & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,943 PostsLatest Activity: 22 minutes ago
351 Following

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!