Errors
HTTP status codes, the error body, and the validation errors you're most likely to see.
EukaPay API uses conventional HTTP response codes to indicate the success or failure of an API request.
2xx status codes indicate success.
4xx status codes indicate an error that failed due to the information provided (for example a required parameter was omitted, etc.).
5xx status codes indicate an error with EukaPay's APIs.
Error Attributes
statusCode - number
Provides the associated HTTP status code
message - string or object
Provides a description of the error.
type - string
specifies error type - api_error, idempotency_error, or invalid_request_error.
| Code | Meaning | Retry? |
|---|---|---|
200 OK | The request succeeded. | — |
400 Bad Request | A parameter is missing, invalid or outside a limit. | No. Fix the request. |
401 Unauthorized | The API key is missing or invalid, or you're using a key from the wrong environment. | No |
402 Request Failed | The parameters were valid but the request failed. | No |
403 Forbidden | The key doesn't have permission for this request. | No |
404 Not Found | The resource doesn't exist. | No |
409 Conflict | The request conflicts with another request. | Yes, after a delay |
429 Too Many Requests | You hit the rate limit. | Yes, with exponential backoff |
500, 502, 503, 504 | Server error. | Yes, with the same idempotency key |
Updated 8 days ago
Did this page help you?
