Developer docs · Problems
Asset type changed
HTTP 409 · https://impartire.com/problems/type-changed
What it means
The asset type's field schema changed since the schema_version the request was built against, and the fields no longer validate; GET the asset type and rebuild the fields.
What to do
GET the asset type, rebuild fields against its current schema, and send the new schema_version with the change.
Example
Sent as application/problem+json with status 409. detail varies with the request; branch on type.
{
"type": "https://impartire.com/problems/type-changed",
"title": "Asset type changed",
"status": 409,
"detail": "The asset type's schema is now version 4; the fields no longer validate. GET the type and rebuild them.",
"instance": "/api/v1/assets/6f1c2a4e-0b7d-4f7e-9a51-2d3c4b5a6e7f",
"request_id": "01JB8Z5W6Q4N3X2V1T0S9R8P7M",
"schema_version": 4
}