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

Export Of All Roles Resulting in Status Code 429 #82

Open
jrdensmore opened this issue May 9, 2024 · 17 comments
Open

Export Of All Roles Resulting in Status Code 429 #82

jrdensmore opened this issue May 9, 2024 · 17 comments
Labels
bug Something isn't working

Comments

@jrdensmore
Copy link

Describe the bug
Attempting to use the 'Export all Roles as CSV' feature on roles results in error stating status code 429

To Reproduce

  1. Click 'Export all Roles as CSV'

Expected behavior
A CSV is saved to prompted location.

Screenshots
image

Environment
image

Logs
Need time to sanitize this of private information, will edit on doing so.

Additional context
Working in sandbox, but honestly we don't even have that many roles yet, so despite production having more, its not a crazy amount.

@jrdensmore jrdensmore added the bug Something isn't working label May 9, 2024
@yannick-beot-sp
Copy link
Owner

How many roles do you have in production (approximately)?
How many access profiles are used for roles (approximately)?
Are you more relying on direct entitlements?
How many of them are relying on governance groups (approximately)?

@jrdensmore
Copy link
Author

How many roles do you have in production (approximately)? How many access profiles are used for roles (approximately)? Are you more relying on direct entitlements? How many of them are relying on governance groups (approximately)?

60 roles.
About 7 access profiles.
Yes, relying on direct entitlements for many roles.
Three or four roles currently rely on a governance group.

@yannick-beot-sp
Copy link
Owner

That's not a lot of roles...
Do you have "big" roles with "lot" of entitlements?

@jrdensmore
Copy link
Author

That's not a lot of roles... Do you have "big" roles with "lot" of entitlements?

Yeah haha, just barely went live so still in our infancy!

We have one role with ~24 identities that has ~50 entitlements. Pretty much every other one has 20 or less.

Only other thing really of note is we have a couple roles with larger identity pools. One has ~39,000 identities. A few around 10k, and the rest fairly small.

yannick-beot-sp added a commit that referenced this issue May 16, 2024
…cess profiles (cf. #82)

- Role and Access Profile imports are now cancellable
yannick-beot-sp added a commit that referenced this issue May 16, 2024
- 429 Too Many Requests error during export or import of roles and access profiles  (cf. [#82](#82))
- Role and Access Profile imports are now cancellable
yannick-beot-sp added a commit that referenced this issue May 16, 2024
- 429 Too Many Requests error during export or import of roles and access profiles  (cf. #82)
- Role and Access Profile imports are now cancellable
@yannick-beot-sp
Copy link
Owner

@jrdensmore
Can you validate that the version 1.3.1 solves your issue?

@jrdensmore
Copy link
Author

@jrdensmore Can you validate that the version 1.3.1 solves your issue?

Still experiencing on v1.3.1 unfortunately

@yannick-beot-sp
Copy link
Owner

yannick-beot-sp commented May 17, 2024

I've tested with 60 roles with 50 different entitlements each and it worked.
Can you make sure that the extension was properly updated (and reloaded)?
Before modification, it was failing pretty quickly (around 5 roles)

@jrdensmore
Copy link
Author

I've tested with 60 roles with 50 different entitlements each and it worked. Can you make sure that the extension was properly updated (and reloaded)? Before modification, it was failing pretty quickly (around 5 roles)

Unfortunately same issue. Ensured update + reload, machine has even been restarted with updates.

Attached is my developer console log

vscode-app-1716322995262.log

@acmans
Copy link

acmans commented Jul 24, 2024

Hi, i'm running into the same issue, we have a about 680 roles, i imagine the rate limiting is causing the 429 error, is there a workaround or a fix on this ?

@swcoleman
Copy link

I am getting the same error. We have about 3,600 roles and 2000 Access Profiles. Most roles only have a few entitlements.

@jackeeem
Copy link

I am having similar issues but, my error is a now 404. I've uninstalled/reinstalled and readded my tenant. Other functions are working without returning an error.

@yannick-beot-sp
Copy link
Owner

@jackeeem I cannot reproduce this error.
Can you activate the developer tools (Help > Toggle Developer Tool), reproduce the problem and send me some info?
This may give an hint.

@yannick-beot-sp
Copy link
Owner

@jrdensmore @acmans
Can you try with the latest version if the issue persists?

@jrdensmore
Copy link
Author

@jrdensmore @acmans Can you try with the latest version if the issue persists?

Same issue still persisting on my end

@yannick-beot-sp
Copy link
Owner

@jrdensmore @acmans
Can you try with the latest version (1.3.8) if the issue persists?
My colleagues @mostafa-helmy-sp worked on fixing retry config, especially in the case of 429.

@jrdensmore
Copy link
Author

@jrdensmore @acmans Can you try with the latest version (1.3.8) if the issue persists? My colleagues @mostafa-helmy-sp worked on fixing retry config, especially in the case of 429.

I had a successful export!

I haven't actually reviewed the export due to time constraints, but I'll try to shortly and report back if I see any issues.

@swcoleman
Copy link

It appears to have fixed it for me also. Thanks everyone!!!

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

5 participants