cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: No webhook notification received on dropbox content change

No webhook notification received on dropbox content change

Győző C.
Explorer | Level 3

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 7

Greg-DB
Dropbox Staff

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.
Explorer | Level 3

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
Dropbox Staff

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.
Explorer | Level 3

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

Greg-DB
Dropbox Staff

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.
Explorer | Level 3

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
Dropbox Staff

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

Need more support?