[FEATURE REQUEST] Return more information when management api rate limit happen
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
Research direction
No file or test is named. Start by locating the Fastly Management API 429 error handling in the CLI and inspect how Fastly-RateLimit-* response headers are received; done means the CLI's rate-limit error includes that header information while retaining the existing message.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
We have hundreds of different services and when we in some operations batching changes over all of them we and up in that the Fastly Management API rate limit the requests and the CLI returns ERROR: the Fastly API returned 429 Too Many Requests: You have exceeded your hourly rate limit. Please contact support@fastly.com if you think this is a mistake..
The rate limit's are described on https://www.fastly.com/documentation/reference/api/#rate-limiting
Describe the solution you'd like
The error message is clear and consist but should like to have more information in the error message, like the information from the Fastly-RateLimit-* headers. I think the Fastly CLI just return the information message.
- Dominant language
- Go
- Stars
- 164
- Forks
- 80
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 17
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fastly/cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug feature request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
feature request
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
-
feature request
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·