You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, loading a policy with an invalid CIDR value value fails with a postgres exception and a 500 Internal Server Error response. Instead this should return a structured policy validation error like we have for other validations:
{
"error": {
"code": "validation_failed",
"message": "policy_text Error at line 2, column 39 in ...ge\":\"Error at line 2, column 39 in : No such attribute 'restricted_to' on type HostFactory\""
}
}
The text was updated successfully, but these errors were encountered:
Currently, loading a policy with an invalid CIDR value value fails with a postgres exception and a
500 Internal Server Error
response. Instead this should return a structured policy validation error like we have for other validations:The text was updated successfully, but these errors were encountered: