We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
dhavalsoni
3 years agoNew member | Level 2
Dropbox webhooks getting team related response instead of File Related Information
In Dropbox webhooks I am using for my client, but that is sending team related response, but I need file related changes detail
{"delta":{"teams":{"dbtid:AAAIxzpSYjy51YyTiFGRWF554Ua4B8R9xSE":["dbmid:AACkLTI7DZ8As0kupJVJphdN2c8G3mUnHGg","dbmid:AAAwrgz7pSADLizkEt96HHbFvJlCQXPfe_g"]}},"list_folder":{"teams":{"dbtid:AAAIxzpSYjy51YyTiFGRWF554Ua4B8R9xSE":["dbmid:AACkLTI7DZ8As0kupJVJphdN2c8G3mUnHGg","dbmid:AAAwrgz7pSADLizkEt96HHbFvJlCQXPfe_g"]}}}
If anything I am doing wrong let me know If you provide any steps then that would be great for me.
Please give me response ASAP.
2 Replies
- Здравко3 years agoLegendary | Level 20
dhavalsoni wrote:..., but that is sending team related response, ...
Hi dhavalsoni,
First of all, that's NOT response - it's message! Such type of message notified you about there are some change(s) in related (linked) account(s). The notification may be about change of any kind and there is no way to limit it. Within the notification "flows" id of account/team/member where corresponding change(s) happens (this doesn't mean that it's team change or there is not a file change - could be anything). You have to check what actually it IS. There is no such information within the message. For file trace, you can save last cursor for folders recursive listing for every linked account and once event that suppose some change happens, try continue listing. As a response of such a try you will receive all changes, if any.
Good luck.
- Greg-DB3 years ago
Dropbox Community Moderator
[Cross-linking for reference: https://stackoverflow.com/questions/77624842/dropbox-webhooks-getting-team-related-response-instead-of-file-related-informati ]
dhavalsoni Based on the sample you shared, I see that your app is "team-linked", and so is receiving team webhook notifications. You can find the documentation for team webhooks here, and the documentation for user webhooks here.
Either way, note that for file/folder changes, webhook notifications only tell you when something has changed, but not what has changed. You'd then need to then call the API to see what has changed, e.g., /2/files/list_folder[/continue].
The following guides may be helpful:
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!