Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
snigdhakadam
8 years agoExplorer | Level 3
Webhook functionality implementation.
Hello,
I want to implement Webhook functionality. I don't have server for my website right now. So created Webhook URI on other's server e.g " https://www.example.com/webhook_test_uri ". I created get & post method there. I verify the request by echoing value of challenge parameter & my URI get enabled. My OAuth2 redirect API is "http://127.0.0.1:8000/dropbox_auth" & Webhook URI is "https://www.example.com/webhook_test_uri".
When I make any changes in dropbox, it is not sending me data on above Webhook URI.
I am not getting what is wrong in this? Please suggest me.
Thanks,
5 Replies
- Anastasios8 years agoCollaborator | Level 9
Do you have admin access rights to the other server?
The URI needs to be one publicly accessible over the internet. For example,
127.0.0.1andlocalhostURIs will not work, since Dropbox's servers will not be able to contact your local computer.Check this for more info
- snigdhakadam8 years agoExplorer | Level 3
I have admin access rights to the other server. So I have added valid Webhook URI of other server not localhost. My Webhook URI is enabled.
Then also it is not giving response on that post method.
My Oauth redirect URL is localhost.
- Greg-DB8 years ago
Dropbox Community Moderator
Webhook notifications will only be sent for changes in the accounts of users that are "linked" to your app. Can you check that you have linked your account to your app and that you are making changes in that account?
- snigdhakadam8 years agoExplorer | Level 3
Thanks for reply.
I followed following steps:
1. I have created application on dropbox with full access.
2. I created web application & I follwed OAuth 2 Flow.
3. Then I was able to access my all dropbox files. I was able to upload, download, rename etc operation on the files.
4. I have created one Webhook URI on my other server(My Website code is not resides on this server). I have added this URI in application & this URI has enabled.
I am making changes in this same dropbox acccount(which I have chosen while OAuth 2 Flow). But I am not getting changed information on specified URI.
Please suggest me if I wrong.
Many Thanks,
- Greg-DB8 years ago
Dropbox Community Moderator
Thanks, in that case, please open an API ticket with the specifics (i.e., the relevant app ID, user ID, webhook URI, and path and timestamp of a file change) so we can look into it for you:
https://www.dropbox.com/developers/contact
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!