Skip to content
Settings

ENTITY_NOT_FOUND — entity does not exist

cyoda-go version 0.8.3

ENTITY_NOT_FOUND — the requested entity does not exist or is not accessible to the caller.

HTTP: 404 Not Found. Retryable: no.

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.

Not retryable. Point-in-time lookups require a timestamp within the entity’s history.

  • errors
  • errors.MODEL_NOT_FOUND
  • 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 MODEL_NOT_FOUND — The entity type or model name specified in the request does not exist in the tenant’s model registry. Occurs on write paths (creating entities with an unknown type, importing data that references a missing model, performing model lifecycle transitions on a model ID that does not exist) and on read paths (list, stats, grouped-stats, and search operations that reference an unregistered model).