Skip to main content
The Circle platform returns an HTTP status code when it detects an error in an API request:
  • 4xx errors are client errors, which are informative and actionable. They communicate a mistake to the user and suggest fixes.
  • 5xx errors are unexpected server-side errors. See Description column for more information on the error and potential fixes.

General error format

HTTP status codes do not always provide sufficient information to determine the cause of the error, but the responses to a request typically contain additional JSON fields that provide additional details. For example, if a request contains an invalid parameter, the response includes the following: HTTP/1.1 400 Bad RequestContent-Type: application/json
JSON

Extended error format

In some cases, the response includes extended information about the cause of the error. For example, if a request doesn’t include a value for a required parameter, the response resembles the following: HTTP/1.1 400 Bad RequestContent-Type: application/json
JSON

Common Developer Services error messages

This section describes some common extended error messages you might encounter using Developer Services APIs.

General

The following errors result from malformed request.

400 Bad Request

A 400 HTTP status code typically results when the request includes an invalid parameter. The following table includes additional error messages associated with error code 2.

Programmable wallet error messages

This section describes the errors that can be returned for Programmable Wallet API requests.

User error codes (155101 - 155149)

Entity error codes (155150 - 155199)

Transaction error codes (155201 - 155299)

Wallet error codes (155501 - 155599)

Wallet Set error codes (155601 - 155699)

SDK UI error codes (155701 - 155799)

Sign transaction error codes (155801 - 155899)

Common error codes (156001 - 156099)

Circle Contracts error messages

This section includes the errors that can be returned from the Circle Contracts API requests.

Contract error codes (175001 - 175199)

Template error codes (175201 - 175399)

Event subscription error codes (175301 - 175399)

Common error codes (175401 - 175599)

Transaction error codes (177001 - 177607)

Compliance Engine error messages

This section includes the errors that can be returned from Compliance Engine API requests.

Standalone screening error codes (280001 - 280099)