> For the complete documentation index, see [llms.txt](https://gl-docs.gitbook.io/zkpass/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gl-docs.gitbook.io/zkpass/zkpass-developers-guide/api-reference/typescript/errors.md).

# Errors

### Error Messages

The following table lists all error messages used across the DVR client modules:

| Module                                                                                                                   | Error Message                      | Description                                                           |
| ------------------------------------------------------------------------------------------------------------------------ | ---------------------------------- | --------------------------------------------------------------------- |
| [FFI Helpers](/zkpass/zkpass-developers-guide/api-reference/typescript/functions/functions-ffihelper.md)                 | `MISSING_PUBLIC_KEY_VALUES`        | Thrown when a public key option is missing 'x' or 'y' values          |
| [FFI Helpers](/zkpass/zkpass-developers-guide/api-reference/typescript/functions/functions-ffihelper.md)                 | `MISSING_KEYSET_ENDPOINT_VALUES`   | Thrown when a keyset endpoint option is missing 'jku' or 'kid' values |
| [FFI Helpers](/zkpass/zkpass-developers-guide/api-reference/typescript/functions/functions-ffihelper.md)                 | `INVALID_PUBLIC_KEY_OPTION_TYPE`   | Thrown when an invalid public key option type is provided             |
| [FFI Helpers](/zkpass/zkpass-developers-guide/api-reference/typescript/functions/functions-ffihelper.md)                 | `MISSING_USER_DATA_REQUESTS`       | Thrown when user\_data\_requests array is empty                       |
| [FFI Helpers](/zkpass/zkpass-developers-guide/api-reference/typescript/functions/functions-ffihelper.md)                 | `MISSING_USER_DATA_VERIFYING_KEYS` | Thrown when user\_data\_verifying\_keys array is empty                |
| [JWT Helpers](/zkpass/zkpass-developers-guide/api-reference/typescript/functions/functions-jwthelper.md)                 | `ERROR_INVALID_PAYLOAD`            | Thrown when parsed payload is not of type DvrData                     |
| [JWT Helpers](/zkpass/zkpass-developers-guide/api-reference/typescript/functions/functions-jwthelper.md)                 | `ERROR_INVALID_JWT`                | Thrown when JWT token format is invalid                               |
| [JWT Helpers](/zkpass/zkpass-developers-guide/api-reference/typescript/functions/functions-jwthelper.md)                 | `ERROR_INVALID_ZK_PROOF`           | Thrown when ZK proof payload format is invalid                        |
| [Public Key Utils](/zkpass/zkpass-developers-guide/api-reference/typescript/functions/functions-publickeyoptionutils.md) | `INVALID_INPUT`                    | Thrown when input is neither a valid PublicKey nor KeysetEndpoint     |
| [Interface](/zkpass/zkpass-developers-guide/api-reference/typescript/interfaces/interfaces.md)                           | `INVALID_TOKEN`                    | Constant string representing an invalid token                         |
| [Interface](/zkpass/zkpass-developers-guide/api-reference/typescript/interfaces/interfaces.md)                           | `INVALID_VERIFY_PROOF`             | JSON string representing an invalid verify proof error                |
