Upstash Documentation home pagelight logodark logo
  • Console
  • Discord
  • Console
Troubleshooting
ERR max key size exceeded
GeneralRedisKafkaQStashOpen SourceDevOps
    Overall
  • Getting Started
  • Pricing
  • Redis® API Compatibility
  • Use Cases
  • Compare
  • Pro and Enterprise Plans
  • Features
  • Global Database
  • REST API
  • Backup/Restore
  • Durable Storage
  • Replication
  • Eviction
  • Security
  • Consistency
  • Auto Scale
  • Quickstarts
  • AWS Lambda
  • Vercel Functions
  • Next.js 13
  • Fly.io
  • Cloudflare Workers
  • Google Cloud Functions
  • Fastly
  • DigitalOcean
  • Supabase Functions
  • Deno Deploy
  • Koyeb
  • How To
  • Connect Your Client
  • Connect with TLS
  • Connect with upstash-redis
  • Upgrade Your Database
  • Metrics and Charts
  • Import/Export Data
  • Vercel Integration
  • Help
  • Frequently Asked Questions
  • Troubleshooting
  • NOAUTH Authentication Required
  • WRONGPASS invalid or missing auth token
  • Error read ECONNRESET
  • ERR max concurrent connections exceeded
  • ERR max request size exceeded
  • ERR max single record size exceeded
  • ERR max key size exceeded
  • ERR max field size exceeded
  • ERR max member size exceeded
  • ERR DB capacity quota exceeded
  • ERR max daily request limit exceeded
  • ERR XReadGroup is cancelled
Troubleshooting

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.

Was this page helpful?

ERR max single record size exceededERR max field size exceeded
twittergithubdiscord
Powered by Mintlify
  • Symptom
  • Diagnosis
  • Solution