Skip to main content

Error Codes

A list of error codes that may occur during API requests. Use the code field in error responses to identify and handle error types appropriately.

Error Response Format

{
"success": false,
"code": "PROJECT_INVOICE_NOT_FOUND",
"message": "Invoice not found"
}

Authentication Errors — 401 Unauthorized

Authentication errors are returned when the request headers are missing, invalid, or expired.

{
"success": false,
"code": "",
"message": "Invalid signature"
}
MessageDescription
X-Client-Key header is requiredMissing X-Client-Key header
X-Timestamp header is requiredMissing X-Timestamp header
X-Signature header is requiredMissing X-Signature header
Invalid client keyClient Key not found or inactive
API key has expiredAPI Key has expired
Project is not activeAssociated project is inactive
Invalid signatureSignature verification failed
Invalid timestamp formatTimestamp is not a valid number
Request timestamp is too old or too far in the futureTimestamp exceeds ±5 minute window

Request Errors — 400 Bad Request

CodeMessage
VALIDATION_ERRORRequest parameter format or value is invalid
PAYMENT_INVALID_AMOUNTInvalid payment amount
TOKEN_QUOTE_NOT_CONFIGUREDToken does not have a quote symbol configured
TOKEN_PRICE_NOT_AVAILABLEToken price data is not available
PAYMENT_ROUTER_NOT_FOUNDPayment router not configured for the specified chain

Invoice Errors

CodeStatusMessage
PROJECT_INVOICE_NOT_FOUND404Invoice not found
PROJECT_INVOICE_ALREADY_CONFIRMED400Invoice has already been confirmed
PROJECT_INVOICE_EXPIRED400Invoice has expired
PROJECT_INVOICE_NOT_PENDING400Invoice is not in pending status

Resource Errors — 404 Not Found

CodeMessage
PROJECT_NOT_FOUNDProject not found
TOKEN_NOT_FOUNDToken not found
NETWORK_NOT_FOUNDNetwork not found

Server Errors — 500 Internal Server Error

CodeMessage
UNKNOWN_ERRORAn unknown error occurred
info

If server errors persist, please contact support@oozoo.com.