Catalog item validation errors
The Red Hat Edge Manager API enforces lifecycle protection and type-validation rules for catalog items. When an operation violates these rules, the API returns an error with a descriptive message and an HTTP status code that indicates the cause and resolution.
| Operation | Endpoint | HTTP Status | Error condition | Resolution |
|---|---|---|---|---|
|
Delete a catalog item |
|
|
The catalog item version is actively referenced by one or more devices or fleets. |
Remove the |
|
Modify a deployed catalog item version |
|
|
The catalog item version being altered is actively deployed to one or more devices or fleets. |
Remove the |
|
Create or update a device with a type-mismatched catalog item |
|
|
The |
Verify that the catalog item type matches the target specification field. Use system-category catalog items ( |
|
Create or update a fleet with a type-mismatched catalog item |
|
|
The fleet device template contains a |
Verify that the catalog item type matches the target specification field in the fleet device template. The same type-matching rules apply as for individual devices. |
|
Create or update a device with a nonexistent catalog reference |
|
|
The |
Verify that the catalog name, item name, and version in the |