Skip to content
Settings

MODEL_NOT_FOUND — entity model does not exist

cyoda-go version 0.6.2

MODEL_NOT_FOUND — the referenced entity model (schema) does not exist.

HTTP: 404 Not Found. Retryable: no.

The entity type or model name specified in the request does not exist in the tenant’s model registry. Occurs when creating entities with an unknown type, importing data that references a missing model, or performing model lifecycle transitions on a model ID that does not exist.

Not retryable. Entity creation requires the model to exist and be registered in the tenant’s registry.

  • errors
  • errors.ENTITY_NOT_FOUND
  • errors.MODEL_NOT_LOCKED
  • cyoda help errors — Every error response from the Cyoda REST API carries a structured errorCode in the properties object. Multiple codes may share the same HTTP status. Programmatic handling keys on errorCode, not HTTP status.
  • cyoda help errors ENTITY_NOT_FOUND — No entity with the given ID exists in the tenant’s data store, or the entity existed at a point-in-time that precedes the requested snapshot. Also returned for audit log lookups when the specified event or message cannot be found.
  • cyoda help errors MODEL_NOT_LOCKED — Entity creation and bulk write operations require the model to be in the LOCKED lifecycle state. Models in DRAFT or unlocked-for-editing state reject writes to prevent schema changes from affecting in-flight data.