OriginChainDB
Errors

404 - schema not registered

← Errors examples

What happened

The named schema is absent from the selected tenant or namespace.

Register or address the intended schemaRegister referenced schemas first when the new schema depends on them.
  1. Check the current connectionConfirm the instance and tenant.
  2. Find the qualified schemaCompare the namespace and table with the schema list.
  3. Correct the name or registerCreate the intended missing schema with its dependencies.
  4. Verify the requestConfirm it now uses the expected schema.

Request that triggers it

A direct GET against a schema id that doesn't exist.

curl "https://$OC_HOST/v1/tenants/$OC_TENANT/schemas/does.not.exist" \
  -H "Authorization: Bearer $OC_TOKEN"

Read the response

{
  "error": "schema_not_found",
  "message": "no schema 'does.not.exist' for tenant",
  "retry": false
}

Fix the request

  1. Check the qualified schema name.
  2. List schemas on the current connection.
  3. Register missing referenced schemas first.
  4. Register or select the intended schema and retry.

Keep in mind: Schema definitions in another tenant do not satisfy this request.

Common causes

  • Schema registered on staging but not yet on prod.
  • Typo in the namespace - shop. vs shops..
  • Schema was deleted (via a destructive-data confirm) and a downstream service still references it.
  • Multi-region deploy where the new region missed a migration step.

Continue

See error handling and retries, or return to error examples.

© 2026 Silicoyn Technologies Pvt Ltd

On this page