REST API Errors

Errors use one JSON shape:

{
"error": "machine_readable_code",
"message": "Description for a person"
}
StatusCommon error valuesMeaning
400invalid_requestJSON or a required field is invalid
401unauthorizedThe API key or session Bearer token is missing, invalid, expired, or revoked
402subscription_required, ledger limit codesThe account cannot start this paid operation
403insufficient_scope, forbiddenThe key lacks a scope or cannot access the resource
404not_foundThe account-owned resource or linked repository was not found
409conflictThe resource cannot accept the operation in its current state
413payload_too_largeDeclared preview artifact sizes exceed upload limits
429rate_limitedWait for Retry-After before retrying
500internal_errorThe request failed unexpectedly

Treat the error value as the stable programmatic field. Log message for operators. Retry 429 responses after the supplied delay. Retry 500 responses with bounded exponential backoff. Do not retry 400, 401, 402, 403, 404, or 409 until the request, credentials, account funding, or repository setup changes.

Ready to build?

Run your React Native app in the browser. No simulators, no native toolchain, no waiting.

curl -fsSL https://sootsim.com/install.sh | sh