# Error Lists

### General OkayDoc Error Lists

| Message                  | Descriptions         |
| ------------------------ | -------------------- |
| API\_KEY\_EXPIRED        | Error in processing  |
| MAX\_API\_CALL\_EXCEEDED | Maximum API call hit |
| INVALID\_API\_KEY        | Wrong apiKey         |
| MISSING\_ARGUMENT        | Missing apiKey       |

### ID Card

| Message                                                                  | Descriptions               |
| ------------------------------------------------------------------------ | -------------------------- |
| Empty verification result. Suspected error during verification document. | Missing halfsized Document |

### Passport

| Message                                                                  | Descriptions                    |
| ------------------------------------------------------------------------ | ------------------------------- |
| Error in verifying passport.                                             | Error in processing             |
| UNSUPPORTED\_COUNTRY                                                     | Specific Document not supported |
| Empty verification result. Suspected error during verification document. | Missing half-sized Document     |

### Sample Responses

{% code title="API key expired" %}

```
{
    "status": "error",
    "message": "API_KEY_EXPIRED",
    "result": null
}
```

{% endcode %}

{% code title="Missing  idImageBase64Image/Invalid image" %}

```
{
    "status": "error",
    "messageCode": "api.error",
    "message": "Empty verification result. Suspected error during verification document.",
    "id": null,
    "methodList": null,
    "outputImageList": null
}
```

{% endcode %}

{% code title="Missing halfSizeImage" %}

```
{
    "status": "error",
    "message": "Empty verification result. Suspected error during verification document."
}
```

{% endcode %}


---

# 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://api2-ekycapis.innov8tif.com/okaydoc/okaydoc-all/error-lists.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.
