POST host_facotry_tokens
with invalid cidr should return 422
#2011
Labels
host_facotry_tokens
with invalid cidr should return 422
#2011
Is your feature request related to a problem? Please describe.
Unlike definition of
user
orhost
with invalidrestricted_to
value in a policy, when asking for new host token with invalid CIDR value the output is a big and messy html withError 500 Internal Server Error
.A clear and concise description of what the problem is. Ex.
I would like to see [...] because [...]
.I would like to get Error
422 Unprocessable Entity
when sending invalid CIDR just like other requests acts.Additional context
The text was updated successfully, but these errors were encountered: