Agent Apps Docs

Error codes

Complete reference of retryable and non-retryable error codes.

Error codes

Retryable errors

These errors may succeed on retry. Apply exponential backoff.

ErrorDescription
TIMEOUTRequest timed out
CONNECTION_FAILEDCould not connect to the app instance
APP_CRASHEDApp instance crashed during execution
RATE_LIMITEDApp hit an external rate limit
NOT_READYInstance is not yet ready to accept requests
SPAWN_FAILEDFailed to spawn a new instance
CONTROLLER_AT_CAPACITYController is at capacity (see Backpressure)

Non-retryable errors

These errors will not succeed on retry. Fix the underlying issue before retrying.

ErrorDescription
TOOL_NOT_FOUNDThe requested tool does not exist
INVALID_ARGUMENTSTool arguments failed validation
UNAUTHORIZEDAuthentication required but not provided
FORBIDDENAuthenticated but not authorized
PERMISSION_DENIEDInsufficient permissions
INTERNAL_ERRORUnrecoverable internal error
VERSION_UNSUPPORTEDApp version not supported
SESSION_NOT_FOUNDSession does not exist or expired
INSTALLATION_UNKNOWNInstallation ID not recognized