Paddle Billing
Search

Errors

When a request fails, Paddle returns an error object with an appropriate HTTP response code. Errors are consistent and include information to help troubleshoot.

The Paddle API uses standard HTTP response codes to let you know when something's wrong. It also returns some useful information to help you troubleshoot.

For a comprehensive overview of all the errors you might encounter when working with the Paddle API, check out our error reference. Each error includes common causes and information on how to fix.

HTTP status codes

Errors generally return a 4xx response code.

Though rare, you may get a 5xx response code. This means that there's a problem with the Paddle API rather than your code. Try your request later, or check our status page.

Success responses return a 2xx status code.

Error object

When you encounter an error, the API returns an error object rather than a data object or array.

errorobject
typestring

Type of error encountered.

codestring

Short snake case string that describes this error. Use to search the error reference.

detailstring

Some information about what went wrong as a human-readable string.

documentation_urlstring<uri>

Link to a page in the error reference for this specific error.

metaobject

Information about this response.

request_idstring

Unique ID for the request relating to this response. Provide this when contacting Paddle support about a specific request.

For example:

Validation error object

When making requests, all fields are checked against the API reference to make sure they're valid. If a value for a field fails validation, Paddle includes an array of errors to let you know which fields need your attention.

errorobject
typestring

Type of error encountered.

codestring

Short snake case string that describes this error. Use to search the error reference.

detailstring

Some information about what went wrong as a human-readable string.

documentation_urlstring<uri>

Link to a page in the error reference for this specific error.

errorsarray[object]

List of validation errors.

metaobject

Information about this response.

request_idstring

Unique ID for the request relating to this response. Provide this when contacting Paddle support about a specific request.

For example:

Related pages