cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Avoiding RateLimit

Helpful | Level 5

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
Highlighted

Re: Avoiding RateLimit

Dropboxer
Dropboxer
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

Highlighted

Re: Avoiding RateLimit

Helpful | Level 5

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

Highlighted

Re: Avoiding RateLimit

Dropboxer
Dropboxer

[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
Highlighted

Re: Avoiding RateLimit

Dropboxer
Dropboxer
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

Highlighted

Re: Avoiding RateLimit

Helpful | Level 5

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

Highlighted

Re: Avoiding RateLimit

Dropboxer
Dropboxer

[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

Highlighted

Re: Avoiding RateLimit

Helpful | Level 5

it's already a lot !

Thank you .

Highlighted

Re: Avoiding RateLimit

Dropboxer
Dropboxer
For reference, the team increased the rate limit for creating Paper docs via the API. Hope this helps!
Highlighted

Re: Avoiding RateLimit

Helpful | Level 5
Thank you.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?