Services > Catalogs > Catalogs > Configuration > New/Edit
Description
- When you add a new Catalog with used name it returns 400 error
- However when you edit some Catalog and change its name to used name it returns 500 error
http://localhost:3000/api/service_catalogs/45
body
{
"action": "edit",
"resource": {
"name": "Aa" // something what is already used
}
}
response
500 Interval Server Error
{
"error": {
"kind": "internal_server_error",
"message": "Validation failed: ServiceTemplateCatalog: Name has already been taken",
"klass": "ActiveRecord::RecordInvalid"
}
}