Discuss Dropbox Developer & API
I am currently testing the dropbox api's .
As a test I have logged into dropbox with two user accounts, (admin user and a regular operator) . When uploading or deleting a file , from both users, dropbox sends out a webhook with the admin user account id ? Why should this happen.
Below is an example of the event data:
{"event": {"delta": {"users": [123456789], "teams": {"dbtid:AAD8kB2EnFJ0gLq8": ["dbmid:AADCCx57kFX"]}}, "list_folder": {"accounts": ["dbid:AA
Dh77aHewSdqZ"], "teams": {"dbtid:AAD8kB2EnFJ0gLq8": ["dbmid:AADCCx57kFX"]}}}
i get the same dbid for both the admin user and the operator user for a file upload.
@vinitswar wrote:... When uploading or deleting a file , from both users, dropbox sends out a webhook with the admin user account id ? Why should this happen.
... "accounts": ["dbid:AADh77aHewSdqZ"], "teams": {"dbtid:AAD8kB2EnFJ0gLq8": ["dbmid:AADCCx57kFX"]} ...
i get the same dbid for both the admin user and the operator user for a file upload.
Hi @vinitswar,
This should happen when users (either admins or regular users) are different members within the same account. The "dbid" identifies the account, not the team member/user! Team members have their unique "dbmid" in the team they participate in - "dbtid". Last but not least - how have you linked your application - using the admin credentials or the operator? 😉
Hope this helps.
@vinitswar As Здравко asked, it sounds like you have your application linked to just the one account of the two. Your app will only receive notifications for accounts linked to your app, but it will receive notifications for any changes in the linked account(s), including those in shared folders. So, even if different accounts are making changes in a shared folder, you'll only be notified with account IDs that have connected your app to their accounts, since all of those changes are occurring in the shared folder mounted in their account.
account id's are unique and are connected to the app.
@vinitswar I see you wrote in to support about this, so we'll follow up with you there.
@vinitswar I just checked the support system, and I see we did reply on Monday. Please check the email inbox for the email address registered to your account. Be sure to check your spam folder as well, in case it was filtered.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!