# 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.                                                                                                         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oppna.id/errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
