Skip to main content

Response format

Every 4xx and 5xx response uses Content-Type: application/problem+json:
{
  "docs_uri": "https://docs.usezombie.com/api-reference/error-codes#UZ-ZMB-009",
  "title": "Zombie not found",
  "detail": "No zombie with id 'abc123' in this workspace.",
  "error_code": "UZ-ZMB-009",
  "request_id": "req_a1b2c3d4e5f6"
}
FieldDescription
docs_uriStable link to this page for the specific code
titleShort label — identical for every occurrence of a given code
detailInstance-specific context (varies per call)
error_codeMachine-readable code. Use this for programmatic handling.
request_idCorrelation ID for support and log tracing

UUID validation

CodeHTTPTitleCommon Causes
UZ-UUIDV7-009400Invalid ID shapePath or body ID does not match UUIDv7 format

Internal errors

CodeHTTPTitleCommon Causes
UZ-INTERNAL-001503Database unavailableDatabase server unreachable. Check DATABASE_URL.
UZ-INTERNAL-002500Database errorQuery failed. Check DB logs.
UZ-INTERNAL-003500Internal operation failedUnexpected internal failure. Check err= in logs.

Request validation

CodeHTTPTitleCommon Causes
UZ-REQ-001400Invalid requestMissing or malformed field in request body or query
UZ-REQ-002413Payload too largeRequest body exceeds 2MB limit

Authentication / authorization

CodeHTTPTitleCommon Causes
UZ-AUTH-001403ForbiddenToken valid but lacks permission for this resource
UZ-AUTH-002401UnauthorizedMissing or invalid Bearer token
UZ-AUTH-003401Token expiredJWT has passed its expiry time. Re-authenticate.
UZ-AUTH-004503Authentication service unavailableOIDC provider unreachable
UZ-AUTH-005404Session not foundAuth session ID not found or already expired
UZ-AUTH-006401Session expiredAuth session timed out before completion
UZ-AUTH-007409Session already completeAuth session was already resolved
UZ-AUTH-008503Session limit reachedToo many concurrent auth sessions. Retry shortly.
UZ-AUTH-009403Insufficient roleToken role is too low for this endpoint
UZ-AUTH-010403Unsupported roleToken contains an unrecognized role claim

Workspace

CodeHTTPTitleCommon Causes
UZ-WORKSPACE-001404Workspace not foundNo workspace with this ID exists
UZ-WORKSPACE-002402Workspace pausedWorkspace billing is paused. Update payment.
UZ-WORKSPACE-003402Workspace free limit reachedFree-tier execution limit reached. Upgrade plan.

Billing

CodeHTTPTitleCommon Causes
UZ-BILLING-001400Invalid subscription IDSubscription ID format is invalid
UZ-BILLING-002500Billing state missingWorkspace has no billing record
UZ-BILLING-003500Billing state invalidWorkspace billing record is in an inconsistent state
UZ-BILLING-004400Invalid billing eventBilling webhook payload is malformed or unknown
UZ-BILLING-005402Credit exhaustedWorkspace has no remaining execution credit

Scoring

CodeHTTPTitleCommon Causes
UZ-SCORING-001400Invalid scoring contextScoring context tokens are invalid. Check the context_tokens field.

Entitlement

CodeHTTPTitleCommon Causes
UZ-ENTL-001503Entitlement service unavailableCould not verify plan entitlements
UZ-ENTL-003402Run limit reachedPlan does not allow more pipeline runs
UZ-ENTL-004403Skill not allowedPlan does not include this skill

Pipeline v1 removed

CodeHTTPTitleCommon Causes
UZ-RUNS-410410Pipeline v1 permanently removedPipeline v1 has been permanently removed. All /v1/runs/* and /v1/specs endpoints return 410 Gone. Use the agent event model instead.

Webhook

CodeHTTPTitleCommon Causes
UZ-WH-001404Agent not found for webhookWebhook routing found no matching agent
UZ-WH-002400Malformed webhookWebhook body is missing required fields
UZ-WH-003403Agent pausedAgent exists but is not active
UZ-WH-010401Invalid webhook signatureHMAC or Svix signature verification failed. Verify the secret_ref vault entry matches the signing secret configured with the provider.
UZ-WH-011401Stale webhook timestampWebhook timestamp is older than 5 minutes (replay protection). Ensure the sender clock is not skewed.
UZ-WH-020401Webhook credential not configuredNo webhook credential is configured for this agent’s source. Run zombiectl credential add <source> --data=@- with { "webhook_secret": "..." } in the agent’s workspace, then resend.
UZ-WH-030413Webhook payload too largeWebhook body exceeds the 1 MiB ingest limit. Reduce the payload at the source or filter fields before forwarding.

Tool

CodeHTTPTitleCommon Causes
UZ-TOOL-004400Tool not attachedThe tool isn’t in this agent’s tools: list. Add it to TRIGGER.md x-usezombie.tools: and re-install.
UZ-TOOL-005400Unknown toolTool name not recognized — typo against the Tools catalogue is the usual cause.
Registered, not always emitted. The two UZ-TOOL-* codes are registered in the platform’s error registry but, in v2 today, the user-facing failure path for a missing or misspelled tool is a NullClaw-level “no such tool” message in the activity stream rather than one of these wire codes. Treat the codes as authoritative for meaning if you do see them, but don’t expect them as the primary signal — audit zombiectl logs <zombie_id> for the actual error text.

Agent

CodeHTTPTitleCommon Causes
UZ-ZMB-001402Agent budget exceededDaily dollar budget hit. Raise budget.daily_dollars in TRIGGER.md.
UZ-ZMB-002500Agent agent timeoutAgent timed out processing an event. Check the activity stream.
UZ-ZMB-003424Agent credential missingA required vault credential is absent. Add it with zombiectl credential add <name>.
UZ-ZMB-004500Agent claim failedAgent could not be claimed from the database. Verify the zombie_id exists and status is active.
UZ-ZMB-005500Agent checkpoint failedSession checkpoint write to Postgres failed.
UZ-ZMB-006409Agent name already existsName taken. Kill the existing agent first, then re-install.
UZ-ZMB-008400Invalid agent configTRIGGER.md config_json fails schema validation. Verify trigger, tools, credentials, and budget fields.
UZ-ZMB-009404Agent not foundNo agent with this ID in the workspace.
UZ-ZMB-010409Agent already stopped or killedThis agent is already stopped or killed. Re-install before issuing another stop.
UZ-ZMB-011400SKILL.md and TRIGGER.md disagree on name:Top-level name: must match across both files. One identity per agent bundle.
UZ-ZMB-007 is retired; oversized credential bodies now return UZ-VAULT-002.

Integration grants

CodeHTTPTitleCommon Causes
UZ-GRANT-001403No integration grant for serviceThis agent has no approved grant for the target service. Request one with POST /v1/zombies/{id}/integration-requests.
UZ-GRANT-002403Integration grant pending approvalA grant request for this service is pending human approval. Approve in Slack, Discord, or the dashboard.
UZ-GRANT-003403Integration grant deniedThe grant for this service was denied or revoked by the workspace owner. Re-request via the host agent.

Gate

CodeHTTPTitleCommon Causes
UZ-GATE-001500Gate command failedA gate command (make lint/test/build) failed. Check the gate results for stdout/stderr output.
UZ-GATE-002504Gate command timed outA gate command exceeded its timeout. Increase GATE_TOOL_TIMEOUT_MS or optimize the command.
UZ-GATE-003500Gate repair attempts exhaustedAgent exhausted all repair attempts without passing gates. Review gate results for the repeated failure pattern.

Approval gate

CodeHTTPTitleCommon Causes
UZ-APPROVAL-001400Approval parse failedgates in TRIGGER.md config_json has invalid JSON
UZ-APPROVAL-002404Approval not foundApproval action not found or already resolved
UZ-APPROVAL-003401Approval invalid signatureSlack signature or timestamp verification failed
UZ-APPROVAL-004503Approval Redis unavailableGate service down; default-deny applied
UZ-APPROVAL-005400Approval condition invalidGate condition expression is invalid

Credentials

These fire on the inference path — when the runner needs to call the model and can’t resolve a usable LLM provider key. Not the same as workspace vault credentials your agent uses for http_request (those are UZ-VAULT-* and UZ-ZMB-003).
CodeHTTPTitleCommon Causes
UZ-CRED-001503Anthropic API key missingWorkspace LLM API key not found in vault.secrets (key: anthropic_api_key). Set via the workspace credentials API, or set ANTHROPIC_API_KEY in the environment for dev.
UZ-CRED-003503Platform LLM key missingNo active platform-managed LLM key for the resolved provider. The platform admin must rotate the key, or your tenant must attach its own via the workspace credentials API.

Vault

CodeHTTPTitleCommon Causes
UZ-VAULT-001400Credential data must be a non-empty JSON objectPOST /credentials body must include a data field that is a JSON object with at least one key. Bare strings, arrays, scalars, and {} are rejected.
UZ-VAULT-002400Credential data too largeStringified credential data exceeds 4 KB. Compose the secret from fewer or shorter fields.

Memory

CodeHTTPTitleCommon Causes
UZ-MEM-001403Memory scope deniedCross-agent memory access attempted. Memory operations are scoped per zombie_id.
UZ-MEM-002404Agent not found for memory opThe zombie_id on the memory call does not exist in the workspace.
UZ-MEM-003503Memory backend unavailableMemory store is unreachable. Retry the trigger; if persistent, file an issue.

Relay

CodeHTTPTitleCommon Causes
UZ-RELAY-001400No LLM provider configuredWorkspace has no LLM credentials configured

Startup

CodeHTTPTitleCommon Causes
UZ-STARTUP-001500Environment check failedRequired environment variables are missing. Run ‘zombied doctor’ to see which ones.
UZ-STARTUP-002500Config load failedConfiguration failed to load. Check that all required env vars are set.
UZ-STARTUP-003500Database connect failedDatabase is unreachable. Check that DATABASE_URL is set and the database accepts connections.
UZ-STARTUP-004500Redis connect failedRedis is unreachable. Check that REDIS_URL_API is set.
UZ-STARTUP-005500Migration check failedDatabase migration state could not be verified. Check DB connectivity.
UZ-STARTUP-007500Redis group creation failedRedis connected but consumer group creation failed. Check Redis ACL permissions.

Runner

CodeHTTPTitleCommon Causes
UZ-EXEC-001500Execution session create failedExecution session creation failed. Check runner availability.
UZ-EXEC-002500Run start failedRun failed to start. Check runner configuration.
UZ-EXEC-003500Execution timeout killExecution exceeded the timeout limit and was killed.
UZ-EXEC-009500Execution startup posture failureExecution startup posture check failed. Verify runner security config.
UZ-EXEC-012500Runner agent init failedRunner agent initialization failed. Check configuration.
UZ-EXEC-013500Runner agent run failedRunner agent execution failed. Check logs for details.
UZ-EXEC-014400Runner invalid configRunner configuration is invalid. Check config_json fields.

Slack plugin

CodeHTTPTitleCommon Causes
UZ-SLACK-001403Slack OAuth state invalidOAuth state parameter mismatch — possible CSRF attempt.
UZ-SLACK-002502Slack token exchange failedCould not exchange OAuth code for bot token. Verify SLACK_CLIENT_SECRET is set.
UZ-SLACK-003401Slack bot token expiredThe Slack bot token has been revoked or expired. Reinstall usezombie to Slack.