Authbound uses standard HTTP status codes. 2xx means success, 4xx means something in the request needs fixing, and 5xx means something went wrong on our side. Every error response has the same body:
Some errors add param (the field that failed) or details (structured data, such as the list of problems when a credential definition can’t be published). Branch on code. Messages are for people reading logs and can change without notice.

Handling errors in the SDK

@authbound/server throws AuthboundClientError for any non-2xx response. It carries the API’s code, the HTTP statusCode, and any details.

Authentication

Requests

Idempotency

Verifications

A verification that ends in failed is not an API error. The request succeeds, and the verification carries a failure_code. See failure codes.

Credential issuance

Server errors

If you contact support at [email protected], include the full error body and the endpoint you called. Never include your secret key.