Skip to main content
Circle APIs return an HTTP status code when they encounter an error:
  • 4xx errors are client errors. They communicate a mistake in the request and, where possible, suggest a fix.
  • 5xx errors are unexpected server-side errors.
Product-specific error codes are documented on each product’s error codes page. See Wallets, Contracts, Mint, and CPN.

General error format

HTTP status codes do not always provide sufficient information to determine the cause of the error. The response body contains additional Circle-specific error information. For example, if a request contains an invalid parameter, the response includes the following: Header
Body

Extended error format

For validation failures, the response includes an errors array with per-field detail. For example, if a request is missing a required field: Header
Body

General errors

The following errors can be returned for any request.