cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change in dropbox folder triggers Webhook twice.

Change in dropbox folder triggers Webhook twice.

Feifei_xiong
Explorer | Level 4
Go to solution

Hey,

 

I have configured Webhook in a dropbox app to listen to any changes on a shared folder. It works fine in my local development envrionment(I am using ngrok to expose my local web server localhost:3000). I only got 1 webhook call each change. However, whenever any file change, including upload, rename, delete and so on, my staging service is getting two webhook calls per action, which is very strange. The two webhooks come to my staging service have different user parameters. 

 

And with two webhook coming, our server creates duplicated content. Any help?

 

Thanks,

Feifei

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
You will get webhook notifications for any changes in the accounts of any/all users connected to your app. So, if you have multiple users connect to your app, and multiple users are in the same shared folder, you will receive multiple webhook notifications when something changes in that shared folder; one for each member that is connected to your app.

You mentioned you are getting different user values, so it sounds like that's probably what's going on.

If something doesn't appear to be working as expected, please feel free to open an API ticket with the details:

https://www.dropbox.com/developers/contact

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution
You will get webhook notifications for any changes in the accounts of any/all users connected to your app. So, if you have multiple users connect to your app, and multiple users are in the same shared folder, you will receive multiple webhook notifications when something changes in that shared folder; one for each member that is connected to your app.

You mentioned you are getting different user values, so it sounds like that's probably what's going on.

If something doesn't appear to be working as expected, please feel free to open an API ticket with the details:

https://www.dropbox.com/developers/contact

Feifei_xiong
Explorer | Level 4
Go to solution
Got it, thanks.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Feifei_xiong Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?