Limits and errors
Every limit Shed enforces, how long sign-ins last, and what each error message means with the fix for it.
Plans
On Shed Cloud, everyone starts on Cloud Free: $0, no card. A self-hosted Shed has no plans; only the server limits below apply.
| Cloud Free | Cloud Team | Self-hosted | |
|---|---|---|---|
| Price | $0 | $25/month per team, on request | Free |
| Apps | 3 you create | 20 per team | No limit |
| Team members | 10 | No limit | |
| Viewers and editors | No limit | No limit | No limit |
| Deploy size | 5 MB | 25 MB | 50 MB |
| Records per app | 10,000 | 50,000 | 50,000 |
| Data per app | 10 MB | 100 MB | 100 MB |
| Versions kept | 5 | 10 | 20 |
Limits follow the app: a team app has Cloud Team's limits whoever made it, and any other app has its creator's. If you add an owner to your free app, the app keeps Cloud Free's limits. shed whoami shows your plan and how much of it you've used.
Limits
| What | Limit |
|---|---|
| Deploy size | 50 MB. Self-hosters can change it with SHED_MAX_DEPLOY_MB. |
| Files per deploy | 2,000 |
| App name | 1 to 40 lowercase letters, digits or -, not starting or ending with -. Not www, api, app, apps, admin, login, auth, static, mail or shed, and not a team's address. |
| Versions kept | The newest 20. Older ones are deleted when you deploy. |
| Record size | 256 KB of JSON. |
| Records per app | 50,000, across all collections. |
| Data per app | 100 MB of JSON, across all collections. |
| Collection name | 1 to 64 letters, digits, _ or -. |
| Record id | 1 to 128 letters, digits, _ or -. |
Records per list | 1,000 by default, up to 5,000 with { limit }. |
| Sign-in emails | 5 per email address and 20 per visitor every 10 minutes. |
| Live-update connections | 8 per visitor, 150 per server. |
There are no limits on how many apps you have, how many people you share with, or how many requests apps make.
How long things last
| What | Lasts |
|---|---|
| A sign-in link | 15 minutes, and works once. |
Terminal sign-in (shed login) waiting for approval | 15 minutes. |
| Signed in to Shed in your browser | 30 days. |
| Signed in to an app | 30 days. Signing out of Shed ends it sooner. |
| Signed in from the CLI or an agent | 365 days, or until shed logout. |
Error messages
Shed's errors say what went wrong in plain words. The CLI and the MCP tools print them as they are; the SDK throws them as an Error with the HTTP status (see SDK errors).
| Message | Status | What to do |
|---|---|---|
| Sign in to use this app. | 401 | The person isn't signed in. Call shed.login(), or sign in again with shed login. |
| You can view this app but not change it. | 403 | A viewer tried to write. Ask the owner for edit access, and hide controls viewers can't use. |
| Only an owner can change this app. | 403 | Sharing, rolling back and deploying need the owner role. |
| Only owners can deploy "…". You're an editor. | 403 | Ask the owner to make you an owner, or deploy your own copy with --name. |
| "…" is taken. Pick another name with --name. | 403 | Someone else has an app with that name. |
| Only the creator can delete an app. | 403 | Other owners can't delete it. Ask whoever created it. |
| Publishing on this server is invite-only. | 403 | This Shed only lets listed people create apps. Ask whoever runs it to add you. |
| This server is invite-only. | 403 | You can't sign in until someone shares an app with you, or the admin adds you. |
| Missing X-Shed header. Use the Shed SDK. | 403 | A raw fetch to the data API needs an X-Shed header. See the HTTP API. |
| App names are 1-40 lowercase letters, digits or dashes… | 400 | Pick a name that fits the rules above, with --name. |
| Collections and ids are letters, digits, _ and -. | 400 | Rename the collection, or rewrite the id, for example by replacing @ and . with _. |
| A record is a JSON object. | 400 | Pass an object to add, put and update, not an array or string. |
| "Everyone at your company" uses the app creator's email domain, and gmail.com is a personal one | 400 | --org on Shed Cloud needs a company address. Add people by email, or use --signed-in. |
| … is a personal email domain | 400 | --domain can't be gmail.com and the like: anyone can get an address there. |
| That's 50 invite emails today | 429 | Send the link yourself, or wait a day. Each person can get three invites to one app a day. |
| Nothing to deploy. | 400 | The folder is empty, or everything in it was skipped. |
| Cloud Free includes 3 apps… | 402 | Deploy a new version of an app you have, or delete one you don't need with shed rm <app> --yes. |
| Deploy is too large. / Too many files. | 413 | Deploy only the built output, and leave out source maps, videos and data files. |
| This app has reached its record limit. / its data limit. | 413 | Delete records the app no longer needs. |
| Sign-in is waiting on … | The CLI sent a sign-in email that hasn't been approved. Approve it, then run the command again. | |
| Too many sign-in emails. | 429 | Wait ten minutes, and check the earlier emails, including spam. |
| Could not send the sign-in email. | 502 | The server's email provider failed. If you run the server, check RESEND_API_KEY and the sender's domain. |