Error envelope

Tinybox returns a typed JSON error on every non-2xx response. This page enumerates the error codes.

Errors

Tinybox returns the same envelope for every error response:

{
  "error": {
    "code": "object_not_found",
    "message": "No object at bucket=my-bucket key=missing.txt.",
    "request_id": "req_abc123"
  }
}

Codes

HTTPcodeMeaning
400bad_requestMalformed JSON or missing required field.
401unauthorizedMissing or invalid Bearer token.
403forbiddenToken does not authorize the requested workspace or bucket.
404object_not_found / bucket_not_foundResource doesn’t exist (or the caller can’t see it).
409conflictBucket name collision or version conflict.
429rate_limitedToo many requests; see Rate limits.
500internal_errorServer-side failure. Safe to retry idempotent reads.

Always log the request_id. Support requests are routed by it.


← Tinybox home