Integration Guide - Error Codes
¶ Error Codes
Uber Pay uses HTTP response status codes to indicate the result of your requests. There are three status code ranges:
2xx: successfully executed the request4xx: an error due to the request provided5xx: a rare error with Uber Pay servers
For failed 4xx requests, Uber Pay returns an appropriate error code in the metadata field of response. Below is a list of possible error codes with additional information.
| Error Code | Description |
|---|---|
| TRANSACTION_ALREADY_PROCESSED | The transaction has already been confirmed. |
This is an example response with a specific error code:
{
"code": "conflict",
"message": "Conflict",
"metadata": {
"error": "TRANSACTION_ALREADY_PROCESSED",
"type": "Deposit",
"uri": "//payments/deposits/af9d61aa-b290-4849-b0a7-77bd85a971c4"
}
}