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

granted sso generate/populate - TooManyRequestsException #458

Closed
rajkamalhm opened this issue Aug 11, 2023 · 2 comments
Closed

granted sso generate/populate - TooManyRequestsException #458

rajkamalhm opened this issue Aug 11, 2023 · 2 comments

Comments

@rajkamalhm
Copy link

Generating sso config returns 429 status code from AWS - https://docs.aws.amazon.com/singlesignon/latest/PortalAPIReference/API_ListAccountRoles.html#API_ListAccountRoles_Errors

> granted sso populate --no-credential-process --profile-template "{{ .AccountName }}/{{ .AccountID }}" --sso-region eu-west-1 https://x-xxxxxxx.awsapps.com/start
[i] listing available profiles from AWS IAM Identity Center...  
[✘] operation error SSO: ListAccountRoles, exceeded maximum number of attempts, 3, https response error StatusCode: 429, RequestID: 85c43326-ebfb-4d68-b496-5558cbc9064c, TooManyRequestsException: HTTP 429 Unknown Code```
@karlatkinson
Copy link

I'm seeing this on generate too.
granted sso generate --sso-region eu-west-1 https://xxxxxxxx.awsapps.com/start
We have a large number of accounts and roles within them (around 200 accounts with around 5 roles in each)

@chrnorm
Copy link
Contributor

chrnorm commented Aug 29, 2023

Resolved in #463!

@chrnorm chrnorm closed this as completed Aug 29, 2023
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

3 participants