If an error occurs on Niropa side, Niropa will respond with an HTTP error code and a JSON object with a text message.
{"error": < error description >}
Below is the list of error codes that can be returned by the Niropa APIs:
HTTP Error Code | Description |
---|---|
400
|
Invalid or missing request parameters. |
401
|
Request signature is invalid. Signature header x-niropa-signature is missing. |
403
|
The currency, country or game isn't enabled for the Operator. |
404
|
The country, currency or game requested doesn't exist. |
404
|
The operator_id doesn't correspond to any existing Operator. |
404
|
The resource requested wasn't found. |
500
|
Internal server error. |