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-003400Invalid UUID canonical formatID passed is not a valid canonical UUIDv7 string
UZ-UUIDV7-005500ID generation failedInternal failure generating a new UUIDv7
UZ-UUIDV7-009400Invalid ID shapePath or body ID does not match UUIDv7 format
UZ-UUIDV7-010409UUID backfill conflictDuplicate ID detected during backfill
UZ-UUIDV7-011500Rollback blockedRollback cannot proceed due to existing state
UZ-UUIDV7-012500Error response linking failedInternal error linking error response to trace

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

API / queue

CodeHTTPTitleCommon Causes
UZ-API-001503API saturatedToo many in-flight requests. Back off and retry.
UZ-API-002503Queue unavailableRedis queue is unreachable

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-003402Stage limit reachedPlan does not allow more pipeline stages
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 zombie event model instead.

Agent

CodeHTTPTitleCommon Causes
UZ-AGENT-001404Agent not foundNo agent profile with this ID

Profile

CodeHTTPTitleCommon Causes
UZ-PROFILE-001404Profile not foundProfile not found. Verify the profile_id.
UZ-PROFILE-002400Invalid profileProfile data is invalid. Check required fields.

Webhook

CodeHTTPTitleCommon Causes
UZ-WH-001404Zombie not found for webhookWebhook routing found no matching zombie
UZ-WH-002400Malformed webhookWebhook body is missing required fields
UZ-WH-003403Zombie pausedZombie exists but is not active
UZ-WH-010401Invalid webhook signatureSlack signature verification failed
UZ-WH-011401Stale webhook timestampSlack timestamp is >5 min old (replay protection)

Tool

CodeHTTPTitleCommon Causes
UZ-TOOL-001424Tool credential missingRequired vault credential not found for skill
UZ-TOOL-002502Tool API call failedExternal API returned an error
UZ-TOOL-003502Tool git operation failedGit operation failed. Check repo URL and credentials.
UZ-TOOL-004400Tool not attachedTool name not in zombie’s TRIGGER.md skills list
UZ-TOOL-005400Unknown toolTool name not recognized
UZ-TOOL-006504Tool call timed outExternal tool did not respond within timeout

Zombie

CodeHTTPTitleCommon Causes
UZ-ZMB-001402Zombie budget exceededDaily dollar budget hit. Raise via zombiectl config set.
UZ-ZMB-002500Zombie agent timeoutAgent timed out processing an event. Check logs.
UZ-ZMB-003424Zombie credential missingRequired vault credential absent. Use zombiectl credential add.
UZ-ZMB-004500Zombie claim failedCould not claim zombie from DB. Verify zombie status.
UZ-ZMB-005500Zombie checkpoint failedSession checkpoint write to Postgres failed
UZ-ZMB-006409Zombie name already existsName taken. Kill existing zombie first.
UZ-ZMB-007400Zombie credential value too longCredential value exceeds 4KB limit
UZ-ZMB-008400Invalid zombie configTRIGGER.md config_json fails schema validation
UZ-ZMB-009404Zombie not foundNo zombie with this ID in the workspace

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.
UZ-GATE-004500Gate persist failedGate results could not be written to the database. Check DB connectivity and that the gate_results table exists.

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

CodeHTTPTitleCommon Causes
UZ-CRED-001503Anthropic API key missingWorkspace anthropic_api_key not in vault. Set via credentials API.
UZ-CRED-002503GitHub token failedGitHub App token request failed. Check GITHUB_APP_ID.
UZ-CRED-003503Platform LLM key missingNo active platform LLM key. Admin must set via platform-keys API.

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 and REDIS_URL_WORKER are set.
UZ-STARTUP-005500Migration check failedDatabase migration state could not be verified. Check DB connectivity.
UZ-STARTUP-006500OIDC init failedOIDC provider initialization failed. Check OIDC configuration.
UZ-STARTUP-007500Redis group creation failedRedis connected but consumer group creation failed. Check Redis ACL permissions.

Sandbox

CodeHTTPTitleCommon Causes
UZ-SANDBOX-001503Sandbox backend unavailableSandbox backend is not available. Check that bubblewrap (bwrap) is installed.
UZ-SANDBOX-002403Sandbox kill switch triggeredSandbox kill switch has been triggered. Contact the administrator.
UZ-SANDBOX-003403Sandbox command blockedThe command is blocked by sandbox policy.

Executor

CodeHTTPTitleCommon Causes
UZ-EXEC-001500Execution session create failedExecution session creation failed. Check runner availability.
UZ-EXEC-002500Stage start failedStage failed to start. Check runner configuration.
UZ-EXEC-003500Execution timeout killExecution exceeded the timeout limit and was killed.
UZ-EXEC-004500Execution OOM killExecution exceeded memory limit and was killed.
UZ-EXEC-005500Execution resource killExecution exceeded resource limits and was killed.
UZ-EXEC-006500Execution transport lossConnection to execution transport was lost.
UZ-EXEC-007500Execution lease expiredExecution lease expired. The task took too long to complete.
UZ-EXEC-008403Execution policy denyExecution was denied by policy. Check firewall rules.
UZ-EXEC-009500Execution startup posture failureExecution startup posture check failed. Verify runner security config.
UZ-EXEC-010500Execution crashThe execution process crashed. Check logs for details.
UZ-EXEC-011403Landlock policy denyLandlock policy denied the filesystem operation.
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.