> ## Documentation Index
> Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ERR max key size exceeded

### Symptom

The client gets an exception similar to:

```
ReplyError: ERR max key size exceeded. Limit: X bytes, Actual: Z bytes
```

### Diagnosis

Size of the key in the request exceeds the max key size limit, which is `32Kb`.

### Solution

This is a hardcoded limit and cannot be configured per database. You should
reduce the key size.


## Related topics

- [ERR max request size exceeded](/docs/redis/troubleshooting/max_request_size_exceeded.md)
- [ERR max single record size exceeded](/docs/redis/troubleshooting/max_record_size_exceeded.md)
- [ERR max requests limit exceeded](/docs/redis/troubleshooting/max_requests_limit.md)
- [ERR max concurrent connections exceeded](/docs/redis/troubleshooting/max_concurrent_connections.md)
- [ERR max daily request limit exceeded](/docs/redis/troubleshooting/max_daily_request_limit.md)
