cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right 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: 

Intermittent api.dropboxapi.com port 443: Connection timed out

Intermittent api.dropboxapi.com port 443: Connection timed out

mbushpilot2b
Helpful | Level 5
Go to solution

Hello Dropbox Cummunity,

    I am getting intermittent api.dropboxapi.com port 443: Connection timed out when calling the access point "/docs/get_metadata" for multiple docs (foreach or loop), I know its not an error on my end but what can be done about this?

 

Also getting: "Error: read ECONNRESET" also when i use the access point "/docs/get_metadata 

 

 

I think since i am trying to download my entire dropbox paper account every few hours as i write this script and getting meta data for each one all at once, (less than 1,000 at a time), the dropbox api server is intentionally cutting the connection. I want to know the limits so I do not get these errors. 

Thanks,

Daniel

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

The Dropbox API does have a rate limiting system, but we don't have any specific numbers documented. It is only designed to prevent abuse though, and is accordingly relatively generous.

 

Further, if/when the API does rate limit you, it would always return an actual HTTPS response with an explicit error. It wouldn't just terminate or time out the connection, so what you're seeing here is a different issue.

 

It sounds like you're just hitting basic general service availability problems, perhaps due to the amount of documents you're trying to access. That being the case, you should just add some automatic retrying in your code, ideally with an exponential backoff.

 

 

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

The Dropbox API does have a rate limiting system, but we don't have any specific numbers documented. It is only designed to prevent abuse though, and is accordingly relatively generous.

 

Further, if/when the API does rate limit you, it would always return an actual HTTPS response with an explicit error. It wouldn't just terminate or time out the connection, so what you're seeing here is a different issue.

 

It sounds like you're just hitting basic general service availability problems, perhaps due to the amount of documents you're trying to access. That being the case, you should just add some automatic retrying in your code, ideally with an exponential backoff.

 

 

mbushpilot2b
Helpful | Level 5
Go to solution
Thanks! 👌
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    mbushpilot2b Helpful | Level 5
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?