cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

Are Webhooks Not Functional? We verified, but not receiving notification on changes.

Are Webhooks Not Functional? We verified, but not receiving notification on changes.

nicoslepicos
New member | Level 2

We've created an endpoint that has code in place to verify the webhook. That part seems to work well as we received the challenge and echoed it back. The app shows as Enabled and verification was successfufl. However, after that, if I go into my dropbox folder, either online or in the sync'd desktop folders, I don't receive any events. 

https://www.clay.run/services/nicoslepicos/dropbox-webhook-handler-start/code

 

Would appreciate your support, feel free to shoot me an email. In general we're trying to make it easier to work with APIs and Webhooks so happy to give some feedback on our experience too 🙂

 

Thanks,

Nicolae

1 Accepted Solution

Accepted Solutions

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

Greg-DB
Dropboxer
Yes, using the "Generate" button to get an access token for your app-user pair would automatically link your account to your app, if it wasn't already.

For end-users, your app should send them through the OAuth app authorization flow to link the app:

https://www.dropbox.com/developers/reference/oauth-guide
https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize

View solution in original post

9 Replies 9

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

nicoslepicos
New member | Level 2

Seems that they are working now... I got an email that said the app was added to my account 5 minutes ago, so just tried to make another change to my folder and I did receive an event now.

 

Also I now see the app in the list of my connected apps on this page: https://www.dropbox.com/account/connected_apps Which I didn't a second ago. I may have hit the button here to cause it to connect?  Before this said 0/500 so not sure what changed?

 

  1. Screenshot 2017-09-26 10.39.02.png

Thanks for your support. You may want to try this service out too to see what the experience working with Webhooks is like 🙂 

https://www.clay.run/services/nicoslepicos/dropbox-webhook-handler-start


Cheers,

Nicolae

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

Greg-DB
Dropboxer

Hi Nicolae, I just checked and webhooks are working properly for me.

 

There are a few things to note though:

- Webhooks will only be sent for users that are linked to your app. Make sure you connect your account to your app before testing webhooks.

- Webhooks will only be sent for file/folder changes in linked accounts. I.e., just opening the Dropbox site or folder won't trigger a webhook notification. You'd need to add, edit, move, or delete a file or folder, etc.

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

Greg-DB
Dropboxer
It looks like our comments just crossed. I'm glad to hear you got this working. It sounds like it was just that you didn't have your account linked yet.

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

nicoslepicos
New member | Level 2

Hey, yah it seems the app was not previously connected to my account, but I'm not sure what exactly it was that I did to get it connected. 

 

I did press the generate Access token button. Also, the changes I was making were adding / editing files, so those should have come in, but like you said it seems the app was not linked before 🙂

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

nicoslepicos
New member | Level 2

Just for the future, what's the exact process for linking the app to the account?

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

Greg-DB
Dropboxer
Yes, using the "Generate" button to get an access token for your app-user pair would automatically link your account to your app, if it wasn't already.

For end-users, your app should send them through the OAuth app authorization flow to link the app:

https://www.dropbox.com/developers/reference/oauth-guide
https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize

View solution in original post

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

nicoslepicos
New member | Level 2

Awesome! I think it might be good to add a mention of that to the Webhook docs: https://www.dropbox.com/developers/reference/webhooks#documentation I read through it but didn't catch that. Would be a helpful tip, I just assumed it was on prior to hitting the Generate button so was trying to set up the intial flow 🙂

 

Thanks for the help Greg!

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

nicoslepicos
New member | Level 2

Out of curiosity, are lots of people using the Webhooks? Is this a common way that people are integrating?

Re: Are Webhooks Not Functional? We verified, but not receiving notification on changes.

Greg-DB
Dropboxer
Thanks for the feedback!

I don't believe we've published any numbers on webhooks usage, so I'm afraid I can't offer a good idea of how common Drpobox webhooks integrations are.
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    nicoslepicos New member | Level 2
What do Dropbox user levels mean?
Need more support?