Forum Discussion

Győző C.'s avatar
Győző C.
Explorer | Level 3
11 years ago

No webhook notification received on dropbox content change

I created an app, it receives the verification and answers it. When I test it with dropbox-hook.py (https://blogs.dropbox.com/developers/2014/05/dropbox_hook-py-a-tool-for-testing-your-webhooks/)
it gets the message and answers it. But it does not receive any notifications when I upload or delete a file in my dropbox. I guess it is some configuration error. How can I ensure that notifications are sent?

7 Replies

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

    Webhook notifications only fire for changes in accounts linked to your app (that is, accounts that users have authorized the app to access). Are you making changes in an account linked to your app?

  • Győző C.'s avatar
    Győző C.
    Explorer | Level 3
    11 years ago

    I have created a dropbox account and an app. As I did not find anything about linking in the tutorial, I supposed that they were linked. Could you let me know how to link the app to my dropbox? Thanks.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    Exactly how you link your app to an account depends on the specifics of your setup. E.g., what SDK or library are you using, if any? In general though, you should work through the tutorial for whatever SDK or library, as that should show you how to get started.

    Also, the OAuth guide may be helpful:

    https://www.dropbox.com/developers/reference/oauthguide

  • Győző C.'s avatar
    Győző C.
    Explorer | Level 3
    11 years ago

    I am only trying to use webhooks, so should I take a look in one of the SDK tutorials?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    Can you elaborate on what you mean when you say you're only trying to use webhooks? What are you trying to build?

  • Győző C.'s avatar
    Győző C.
    Explorer | Level 3
    11 years ago

    In the meantime I clicked on OAuth2/Generate token, and everything started to work. Can it be?
    First I am trying to get to know any changes in a dropbox folder, then I will also need to get/send files as reaction to the changes.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    If you only need to know about changes in your own account, that's fine. Generating an access token on your app's page links the app to your own account. (To link the app to any other accounts though, you'd have to implement the OAuth app authorization flow as shown in the OAuth guide.)

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!