We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
nicoslepicos
9 years agoNew member | 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 :)
Thanks,
Nicolae
- 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
- nicoslepicos9 years agoNew 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?
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
- Greg-DB9 years ago
Dropbox Community Moderator
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.
- Greg-DB9 years ago
Dropbox Community Moderator
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. - nicoslepicos9 years agoNew 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 :)
- nicoslepicos9 years agoNew member | Level 2
Just for the future, what's the exact process for linking the app to the account?
- Greg-DB9 years ago
Dropbox Community Moderator
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 - nicoslepicos9 years agoNew 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!
- nicoslepicos9 years agoNew member | Level 2
Out of curiosity, are lots of people using the Webhooks? Is this a common way that people are integrating?
- Greg-DB9 years ago
Dropbox Community Moderator
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.
About 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!