Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino-cloud-cli issues too many requests per second and runs into rate-limit #126

Open
Bodobolero opened this issue Sep 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Bodobolero
Copy link

Bodobolero commented Sep 7, 2022

When running the following command which creates a dashboard with 6 elements (3 static variables and 3 graphs)

arduino-cloud-cli dashboard create --name LoraWetterStation --template "LoraSample - Wetterstation DHT11 Pin 3-dashboard".json  --override LoraWetterStation=<my-secret-thing-id>

I get the following error with an "entry" plan:

429 Too Many Requests

the page https://www.arduino.cc/reference/en/iot/

indicates that "Arduino IoT APIs are rate limited, authenticated clients limit is up to 10req/s."

To be more user friendly the cli should have either a default to throttle API invocations to max n per second or a command option to specify how many API calls it can do per second.

I just learned that the "entry" plan is limited to 1 request per second. So it should be a configuration or command line option to specify the amount of API calls issued per second.

@per1234 per1234 added the bug Something isn't working label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants