cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
In need of some #MondayMotivation? Read more

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

SOLVED
159 Views
9 Comments
3 Kudos
Highlighted
Level 2

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

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 slightly smiling face

 

Thanks,

Nicolae

1 Accepted solution

Accepted Solutions
Solution
Dropboxer

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

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
9 Replies
Level 2

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

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 slightly smiling face 

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


Cheers,

Nicolae

Dropboxer

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

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.

Dropboxer

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

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.
Level 2

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

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 slightly smiling face

Level 2

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

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

Solution
Dropboxer

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

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
Level 2

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

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 slightly smiling face

 

Thanks for the help Greg!

Level 2

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

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

Dropboxer

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

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.