# 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 %}
