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

Improve error message for MACHINE_LIMIT_EXCEEDED failure #99

Open
weineran opened this issue Oct 10, 2022 · 1 comment
Open

Improve error message for MACHINE_LIMIT_EXCEEDED failure #99

weineran opened this issue Oct 10, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@weineran
Copy link
Contributor

When a user tries to activate too many repositories on their license, they get a message like this:

❗ this repo has not been associated with the license, attempting to activate a repo for the license
πŸ›‘ Activation request returned [1] errors:
πŸ›‘ Error activating repo: MACHINE_LIMIT_EXCEEDED | Unprocessable resource | machine count has exceeded maximum allowed by current policy (10) | /data | 

We should improve this error message to read something like this:

Failed to activate repo [org123/repo456]. License has already reached its limit of [N] repos: [list, of, repos]. If you would like to increase your limit or remove some of these repos from your license, please do not hesitate to contact us.
@weineran weineran added the enhancement New feature or request label Oct 10, 2022
@weineran weineran self-assigned this Oct 10, 2022
@saintmalik
Copy link

hi, resolved?

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

No branches or pull requests

2 participants