Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

ABH_'s avatar
ABH_
Helpful | Level 5
2 years ago
Solved

WebHOOk

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

7 Replies

Replies have been turned off for this discussion
  • Здравко's avatar
    Здравко
    Legendary | Level 20
    2 years ago

    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_'s avatar
    ABH_
    Helpful | Level 5
    2 years ago

    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_'s avatar
    ABH_
    Helpful | Level 5
    2 years ago

    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)'

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    2 years ago

    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_'s avatar
    ABH_
    Helpful | Level 5
    2 years ago

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

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    2 years ago

    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_'s avatar
    ABH_
    Helpful | Level 5
    2 years ago

    Yes I did it. Thanks

About Dropbox API Support & Feedback

Node avatar for 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!