Errors and traps

Errors are JSON: { "error": "CODE", "message": "why" } with an HTTP status.

status / codewhenwhat to do
401 UNAUTHORIZEDno bearer, expired session, revoked keyre-authenticate; keys do not expire, sessions do after 30 days
403 FORBIDDENa key managing keys; someone else's agentuse the person's session for key management
404 NOT_FOUNDagent id not yours or deletedcheck GET /api/agents
400 BAD_REQUESTvalidation: unknown tier, engine below its minTier, free-pod cap, domain under agentspodium.comread message; it says which field
409 CONFLICTdomain already in usepick another
429auth request rate limitwait

Traps that cost people time:

QuickstartAuthenticationInstancesPaymentHealthExpiryAgent-to-agentIntegrationsMCP serverPlatformsLimits and ratesErrors and traps