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
Yes I did it. Thanks
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.
this one the issueFirst of all did your webhook verification request pass successfully?webhook URL status : failed to verifyI tried to add it 3-4 time but same issue
Getting following responseError: 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 OKX-Http-Reason: OKDate: Thu, 12 Sep 2024 10:18:07 GMTContent-Type: text/html; charset=UTF-8Transfer-Encoding: chunkedConnection: keep-aliveCf-Ray: 8c1f26d55a432069-IADCf-Cache-Status: BYPASSAge: 0Cache-Control: max-age=0, s-maxage=2592000Expires: Thu, 12 Sep 2024 10:18:07 GMTCf-Apo-Via: origin,qsReport-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-EncodingServer: cloudflareContent-Encoding: gzipAlt-Svc: h3=":443"; ma=86400
Response Body (First 256 bytes):b'(No response body)'
@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.
Issue fixed. Can i get which files and which data is updated in DropBox?
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.