Skip to content

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

@just-be-dev

Description

@just-be-dev

#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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions