RevenueCat uses standard HTTP status codes to indicate the success or failure of an API request. Codes in the 2XX
range indicate the request was successful. 4XX
codes indicate an error caused by the client. 5XX
codes indicate an error in RevenueCat servers.
Successful modifications return the modified entity. Errors return the following fields:
{
"type": "parameter_error",
"param": "customer_id",
"message": "id is too long",
"retryable": false,
"doc_url": "https://errors.rev.cat/parameter-error"
}
For more information on the type
field and how to resolve these errors, please visit our Error Types documentation.