cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Avoiding RateLimit

Avoiding RateLimit

foxmask1
Helpful | Level 5
Go to solution

Hi,

When I use the dropbox (python) API (for creating paper doc) after ~ 100 new doc created, the process is stucked.

When I break the process I can see this is due to a Ratelimit.

How can I avoid that behavior ? 

I'm trying to migrate all my Evernote notes (~2500 documents) 

And plan to create ~80-100 paper doc per day.

Doc I will automatically create (with an opensource project like IFTTT) to follow news arround several topics 🙂

Regards.

3 Accepted Solutions

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
There is a limit to how many Paper documents you can create per day via the API. There isn't a way around this, so you'll need to throttle your calls accordingly. Check the RateLimitError.retry_after value for how long to wait:

https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.auth.RateLimitError.retry...

View solution in original post

foxmask1
Helpful | Level 5
Go to solution

Hi, thank you for your reply.

 

So If the API does not allow this operation, is there a way to import a Evernote.enex file once from the web application itself ?

I did not find it but may be it's hidden somewhere 🙂

 

Regards

View solution in original post

Greg-DB
Dropbox Staff
Go to solution

[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-python/issues/142 ]

 

I can only offer help with the API, so any questions about the Paper product itself would be better served in Find answers > Dropbox Paper or Share an idea > Dropbox Paper.

View solution in original post

6 Replies 6

Greg-DB
Dropbox Staff
Go to solution
There is a limit to how many Paper documents you can create per day via the API. There isn't a way around this, so you'll need to throttle your calls accordingly. Check the RateLimitError.retry_after value for how long to wait:

https://dropbox-sdk-python.readthedocs.io/en/latest/moduledoc.html#dropbox.auth.RateLimitError.retry...

foxmask1
Helpful | Level 5
Go to solution

Hi, thank you for your reply.

 

So If the API does not allow this operation, is there a way to import a Evernote.enex file once from the web application itself ?

I did not find it but may be it's hidden somewhere 🙂

 

Regards

Greg-DB
Dropbox Staff
Go to solution

[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-python/issues/142 ]

 

I can only offer help with the API, so any questions about the Paper product itself would be better served in Find answers > Dropbox Paper or Share an idea > Dropbox Paper.

foxmask1
Helpful | Level 5
Go to solution

it's already a lot !

Thank you .

Greg-DB
Dropbox Staff
Go to solution
For reference, the team increased the rate limit for creating Paper docs via the API. Hope this helps!

foxmask1
Helpful | Level 5
Go to solution
Thank you.
Need more support?
Who's talking

Top contributors to this post

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