question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RateLimitException hit for all write/upload operations

See original GitHub issue

cf version: 1.0b1 python version: 3.7.3

I’m not able to write (with cartocontext.write) or upload (with dataset.upload) to my carto account with v1.0b1. I keep getting RateLimitException

Looking into it, I’m not sure why this would be happening 🤷‍♂

@alrocar any idea?

from cartoframes.auth import set_default_context, Context
from cartoframes.data import Dataset


cc = Context(
    base_url='https://eschbacher.carto.com/',
    api_key='abc123'
)

set_default_context(
    context=cc
)

df = pd.DataFrame({
        'lat': range(10),
        'lng': range(10, 0, -1),
        'attr': list('abcdefghij')
    })

## This will raise a RateLimitException
## Behavior is the same for new table and overwriting existing tables
cc.write(
    df,
    'test4',
    overwrite=True
)

## This will raise a RateLimitException too
Dataset.from_dataframe(df).upload(table_name='isthisthingon')

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
andy-eschcommented, Jun 26, 2019

Thanks for looking into this @oleurud. Yeah, another one of those strange transient ones. I’ll ping back if I see anything again.

0reactions
oleurudcommented, Jun 25, 2019

In the last 7 days, we have only your 7 requests from a total of 3.370.

For now, I would forget this one, but I will keep an eye on the dashboard the following days.

I am going to close it, but feel free to reopen if you see something wrong or it is happening again

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rate limits | Stripe Documentation
A rate limiter that limits the number of requests received by the API within any given second. For most APIs, Stripe allows up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found