
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeHey there! This is a tricky one, but the "Max listener limit exceeded at 1004" error you're seeing is actually hitting a platform-level limit on concurrent listeners to Sanity's real-time APIs.
Based on the technical limits documentation, Sanity enforces maximum concurrent listener limits per project plan:
You're hitting the 1,004 listener mark, which suggests you're on a Free plan and have exceeded the 1,000 concurrent listener threshold.
Each time Studio opens a document or subscribes to real-time updates, it creates listener connections. These can accumulate from:
Immediate steps:
Longer-term solutions:
client.listen() could be creating extra connectionsFor development:
sanity dev instead of multiple Studio instancesThe fact that you're seeing it "permanently" at 1,004 suggests you have active connections that aren't closing. The 30-minute connection lifetime should eventually help, but closing Studio tabs is your quickest fix.
If you continue having issues after trying these steps, you might want to reach out to Sanity support to check if there's something unusual with your project's listener connections.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store