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

Add a better error for when a user tries to provision past their quota #4680

Open
zephraph opened this issue Dec 12, 2023 · 0 comments
Open
Assignees

Comments

@zephraph
Copy link
Contributor

#4605 introduced quotas and uses the InsufficientCapacity error added by @sunshowers in #4573. InsufficientCapacity generates a 5xx error but I believe we should both have a distinct error type and a 400 error code for when provisioning fails due to quotas. As mentioned in #4573, AWS has good documentation on their api errors. They have InsufficientCapacity as a 5xx server error related to their servers not having the resources to handle a request and 4xx client errors like VcpuLimitExceeded for when users try to over provision their allotted resources.

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

2 participants