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

Forum Discussion

Dennis P.11's avatar
Dennis P.11
New member | Level 2
10 years ago

api.dropboxapi.com failed to connect connection timed out

I can't access api.dropboxapi.com from my godaddy VPS..but I tested the same code on another godaddy VPS and its working...by the way..api.dropboxapi.com is the only one failing ...content.dropboxapi.com works great..

9 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    Hi Dennis, we're not experiencing any service disruptions for api.dropboxapi.com right now, and especially since it works on one and not the other, it sounds like the issue here may be with the configuration or network connection for that first VPS.

    Is there anything on that VPS that might be interfering with the connection, e.g., proxy, firewall, anti-virus, etc.? 

  • Dennis P.11's avatar
    Dennis P.11
    New member | Level 2
    10 years ago

    Hi gregory...thanks for replying...

    according to godaddy support there is no proxy, firewall or anti-viruses...

    can dropbox ban an IP address for too many requests?

    if you like i can share my php code with curl..

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    No Dropbox doesn't ban IP addresses for sending too many requests. The Dropbox API does have a rate limiting system, but it will always reply with a 429 or 503 status code (i.e., it won't just let the connection time out).

    Anyway, the issue probably wouldn't be with the code, as you mentioned the same code works on another VPS. It sounds like the issue is with configuration or connection of that particular VPS, but I'm afraid I can't offer help with that specifically. 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    The SSL certificate for a server is used for connections to that server, and shouldn't be involved in outgoing connections made by that server (e.g., to the Dropbox API).

  • Dennis P.11's avatar
    Dennis P.11
    New member | Level 2
    10 years ago

     

    Hi Gregory...

    Well after too much try.. we decide to change the first godaddy VPS zone..and guess what?..it started working !!!!...

    Another solution if anyone else is having the same issue...

  • Dennis P.11's avatar
    Dennis P.11
    New member | Level 2
    10 years ago

    Hi Gregory..

    Is there anyway to revalidate an invalid token instead of reauthenticate the user?..

    Working with api v2  i revoked  a token by mistake...

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!