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

Support backoff retry for 429 rate limit errors #369

Open
akodhawan opened this issue Oct 11, 2023 · 1 comment
Open

Support backoff retry for 429 rate limit errors #369

akodhawan opened this issue Oct 11, 2023 · 1 comment

Comments

@akodhawan
Copy link
Contributor

Provider should be extended to do backoff retry for rate limited resources.

Example:
│ Error: DELETE /authorize/scim/v2/Applications/fc527f11-900f-48f9-a81b-038e8cb96cae: StatusCode 429, Body: {"issue":[{"details":{"coding":{"userSelected":false},"text":"Rate limit exceeded"},"diagnostics":"Rate limit exceeded"}]}

Also in few cases see inconsistency where IAM throws 429 but still processes the request thus creating a state drift.
A way to handle this might be to do a GET check on resource in case of error before retrying request.

@akodhawan
Copy link
Contributor Author

Need to validate further, but i guess inconsistency was caused by multiple retries. If after rate limit error leave the system for cool-off seems eventual consistency plays & resources are deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant