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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://gl-docs.gitbook.io/zkpass/zkpass-developers-guide/api-reference/typescript/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.
