> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-agent-in-group-react-v6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Error Codes

> Review CometChat Notification API error codes for authentication, providers, push tokens, preferences, and delivery logs.

Error codes specific to the Notification APIs.

## Authentication Errors

| Error Code                  | Description                                                     |
| --------------------------- | --------------------------------------------------------------- |
| `AUTH_ERR_EMPTY_APIKEY`     | The `apikey` header is missing from the request.                |
| `AUTH_ERR_APIKEY_NOT_FOUND` | The provided API key is invalid.                                |
| `AUTH_ERR_NO_ACCESS`        | The API key doesn't have the required scope for this operation. |

## Provider Errors

| Error Code                    | Description                                            |
| ----------------------------- | ------------------------------------------------------ |
| `ERR_PROVIDER_NOT_FOUND`      | The specified provider does not exist.                 |
| `ERR_PROVIDER_ALREADY_EXISTS` | A provider with the same configuration already exists. |

## Push Token Errors

| Error Code                 | Description                              |
| -------------------------- | ---------------------------------------- |
| `ERR_TOKEN_NOT_FOUND`      | The specified push token does not exist. |
| `ERR_TOKEN_ALREADY_EXISTS` | The push token is already registered.    |

## General Errors

| Error Code             | Description                                 |
| ---------------------- | ------------------------------------------- |
| `ERR_BAD_REQUEST`      | Validation error in the request body.       |
| `ERR_OPERATION_FAILED` | The operation failed due to a server error. |
