Skip to content

Error codes

See OTLP endpoint: 200, 400, 401, 413, 415, 503.

GET /v1/whoami answers 200, 401 or 503: see OTLP endpoint.

Status Meaning
400 Invalid query or body (for example a range whose from is not before to, an unknown cursor, user and unattributed together)
401 Not signed in
403 Your role lacks the permission, or a mutating request came from another origin
404 Not found, or it belongs to another organization (never told apart)
409 No active organization in the session, or a conflict (a name that exists)
415 A mutating request whose body is not application/json
429 Too many sign-in requests
503 The database is unavailable
Message or behaviour Cause
CTXFLOW_USAGE… ignored: they have no effect (warning) You still set CTXFLOW_USAGE, CTXFLOW_USAGE_THRESHOLD or CTXFLOW_USAGE_RETRIEVAL_TOOLS. Remove them
Exporter log 401 Unauthorized Wrong, revoked or missing API key
OTEL_PROPAGATORS=… has no baggage warning Identity will not cross process boundaries
<instrumentor> is installed but was not activated, so its spans are missing (warning, under ctxflow-instrument) An AI instrumentor you installed (OpenInference LlamaIndex, MCP, OpenAI, Anthropic, LangChain) was skipped because its library version does not match. Fix the dependency, or set OTEL_PYTHON_DISABLED_INSTRUMENTATIONS=<name> to silence it. See Integrations
CTXFLOW_CUSTODY and CTXFLOW_HMAC_KEY ignored (warning) You still set these variables from an older build. They do nothing: text leaves as written and hashes are plain sha256. Remove them
Log Cause
x509: certificate signed by unknown authority Self-signed certificate of a local core: see local core
context deadline exceeded when exporting The collector cannot reach ctxflow
Permanent error / 401 when exporting Wrong or revoked CTXFLOW_API_KEY

Troubleshooting maps symptoms to fixes. HTTP API lists the routes.