Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

victorvlad's avatar
victorvlad
Explorer | Level 3
1 month ago

Webhooks and vpn

Hello, 

Our app is behind company VPN, and we're looking for ways to have the webhook mechanism working. We tried whitelisting some IPs based on this link but after doing that only the verification request seems to work... Additional file changes / modifications are not sent as notifications, although there are no errors in the App Console. Any suggestions ?

Thanks,

Victor VLAD

4 Replies

  • victorvlad's avatar
    victorvlad
    Explorer | Level 3
    1 month ago

    Hello, 

    Any opinions here from the support team ?

    Thanks,

    -victor

  • victorvlad's avatar
    victorvlad
    Explorer | Level 3
    1 month ago

    Hi, 

    I see the link in my first comment doesn't work... here it is : 

    https://whois.arin.net/rest/org/DROPB/nets

    Thanks,

    -victor

  • Dell_Dropbox's avatar
    Dell_Dropbox
    Icon for Community Manager rankCommunity Manager
    1 month ago

    Hey victorvlad​, webhook verification only confirms Dropbox can reach your endpoint for the initial GET request. File change notifications are sent as HTTPS POST requests, and they’re only sent for accounts that have actually linked to your API app via OAuth and granted the required permissions (for scoped apps, that includes files.metadata.read).

    If your app is behind a VPN/firewall, please also make sure inbound POST traffic is allowed to the same URL and that your handler returns HTTP 200 within 10 seconds. If you can’t make the endpoint publicly reachable outside the VPN, you may want to use cursor polling or /files/list_folder/longpoll instead.

    There's a thread in the community with a similar issue that I grabbed some of this info from, check it out. 

  • victorvlad's avatar
    victorvlad
    Explorer | Level 3
    23 days ago

    Yes, I added a cron for the cursor polling, so instead of getting the webhook we're proactively checking for changes. Thanks.

About Discuss Dropbox Developer and API

Node avatar for Discuss Dropbox Developer and API
Explore Dropbox Developer & API discussions with developers like you.

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!