Errors

Oppna uses conventional HTTP response codes to indicate the success or failure of an API request with the following code in response. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted). Codes in the 5xx range indicate an error with Oppna’s servers (these are rare).

This table provide detailed information about the error code.

Status
Message
Code
Description

200

SUCCESS

xx

Prefix 0x is reserved for successful responses

200

SUCCESS

01

Request success

200

SUCCESS

02

Partial request success

400

CLIENT_ERROR

14xx

Prefix 14xx is reserved for error from the client side. Request is malformed, missed a required parameter, or used an invalid value as parameter.

400

CLIENT_ERROR

1401

Missing parameter.

400

CLIENT_ERROR

1402

Value type not match or request schema not match or values not in dictionary.

400

CLIENT_ERROR

1403

More parameter than expected.

500

INTERNAL_ERROR

15xx

Prefix 15xx is reserved for error from server side.

500

INTERNAL_ERROR

1501

Unexpected error. Please contact support.

Last updated

Was this helpful?