SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester

Errors

Stable machine-readable error codes and the response shape.

Every error carries a stable code (branch on this) and a human message (show this), nested inside error. Extra context, such as the scopes a key is missing, sits in details.

json
{
"error": {
"code": "missing_scope",
"message": "This API key is missing a required scope. Needs one of: service.forms.view.",
"details": { "required": ["service.forms.view"] }
}
}

The same shape is used for key and plan errors (401, 402, 403) and for validation, not-found, conflict, size and rate-limit errors (400, 404, 409, 413, 429).

Common codes

HTTPcodeMeaning
401api_key_requiredNo key supplied
401api_key_invalidKey not recognised
401api_key_revoked / api_key_expiredKey no longer valid
402free_trial_expiredSubscription/trial lapsed
403missing_scopeKey lacks the required scope
409idempotency_key_conflictSame key, different body
409idempotency_request_in_progressSame key is still being processed; retry shortly
413payload_too_largeRequest body over 1 MB
409cap_reachedPer-workspace limit hit
429rate_limitedToo many requests
400bad_requestAn id in the path or query string is not a valid id
502upstream_rejectedA dependent service refused the request; retry later
503quota_check_unavailableUsage limits could not be checked, so a write was not attempted; retry shortly

Always branch on code, not the human message - messages may change, codes are stable.