cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more 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: 

WebHOOk

WebHOOk

ABH_
Helpful | Level 5
Go to solution

I created App and setup webhook but it's not triggered. I uploaded and updated files in dropBox but webHook doesn't trigger. I don't know what the issue. {lease help to resolve this issue

1 Accepted Solution

Accepted Solutions

ABH_
Helpful | Level 5
Go to solution

Yes I did it. Thanks

View solution in original post

7 Replies 7

Здравко
Legendary | Level 20
Go to solution

Too general question @ABH_! 🤷 What exactly doesn't work?

First of all did your webhook verification request pass successfully? If it's not, nothing will follow.

Did you make sure in your application scopes "files.metadata.read" is present? If it's missing, no events will come for particular account and if missing at all - no events for all accounts.

Many other issues may be seen in the application console.

Start with checking this. 😉

Hope this gives direction.

ABH_
Helpful | Level 5
Go to solution

this one the issue
First of all did your webhook verification request pass successfully?
webhook URL status : failed to verify
I tried to add it 3-4 time but same issue

 

ABH_
Helpful | Level 5
Go to solution

Getting following response

Error: Incorrect response to challenge. We didn't receive the expected response aUHdFL23xlWpDEs3xl2zLHSjXPW83YqAFCMbrC9pShA. See the actual response body we received below.

Request:
GET https://tubono.com/wp-webhook/dropBox.php?challenge=aUHdFL23xlWpDEs3xl2zLHSjXPW83YqAFCMbrC9pShA

Response:
HTTP/1.1 200 OK
X-Http-Reason: OK
Date: Thu, 12 Sep 2024 10:18:07 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Cf-Ray: 8c1f26d55a432069-IAD
Cf-Cache-Status: BYPASS
Age: 0
Cache-Control: max-age=0, s-maxage=2592000
Expires: Thu, 12 Sep 2024 10:18:07 GMT
Cf-Apo-Via: origin,qs
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=gB8qQ%2B6%2BUYLqyhPasfEKAIEoS%2FGWw8Syp85WAr9IZS6FDnyOVNAWlbcrcOOvchflYcc3JbjLrivM3PI3fPBlxyHJXndvw1LINnFMBQqT0Eu1HWS8wsxSr9ZTaFL%2B"}],"group":"cf-nel","max_age":604800}
Nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Vary: Accept-Encoding
Server: cloudflare
Content-Encoding: gzip
Alt-Svc: h3=":443"; ma=86400

Response Body (First 256 bytes):
b'(No response body)'

Здравко
Legendary | Level 20
Go to solution

@ABH_ wrote:

...

Response Body (First 256 bytes):
b'(No response body)'


@ABH_, you need to echo the challenge param in your response body!!! 🙂

Your response body is just empty now. 😉 Of course, Dropbox decides, in this context, that your webhook is "fake". That's it. Take a look in documentation for more info.

Hope this helps.

ABH_
Helpful | Level 5
Go to solution

Issue fixed. Can i get which files and which data is updated in DropBox?

Здравко
Legendary | Level 20
Go to solution

Webhooks inform you (your app actually) which account has something changed. To figure out what exactly has changed, you need to keep track (last list cursor) of all linked accounts that need such track.

ABH_
Helpful | Level 5
Go to solution

Yes I did it. Thanks

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    ABH_ Helpful | Level 5
  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?