Troubleshooting
Start with the symptom. Most problems come down to a draft that is not published, a key for the wrong site or a stale cache.
An entry does not show up on my site
- Is it published? Drafts are never returned by the public API.
- Does the URL use the type's API id (for example
posts), not its display name? - Does the API key belong to the same site as the entry? A key can only read its own site.
- Wait up to a minute: published responses may be cached for 30 seconds, and a static site only changes after it is rebuilt. See Rebuild your site when content changes.
- Is a field missing? The API returns only fields that currently exist on the content type.
API errors
| Status | Meaning | What to do |
|---|---|---|
| 400 | The query is not valid | Check limit (1 to 100) and offset (0 or more) |
| 401 | Missing, invalid or revoked key, or a wrong preview token | Create a new key. Send it as a Bearer token. A wrong or expired preview token is a 401 on purpose |
| 404 | Unknown type or entry | Check the API id and slug. A draft answers 404 without a preview token |
| 429 | Too many requests | Wait for the Retry-After seconds. Fetch at build time or cache instead of on every visit |
My webhook does not fire
- Saving a draft over a draft, or deleting a draft, sends nothing. Webhooks fire when something published changes.
- The URL must be
https://and public. Redirects are not followed, and private network addresses are refused. - Your receiver must answer with a 2xx status within 8 seconds.
- The app keeps the last 25 deliveries of each webhook, with the result. Use Send test to try it.
- A failing webhook never blocks publishing, so the entry is still saved.
I cannot sign in
- Links work once and expire after 10 minutes. Request a new one.
- Check your spam folder, and that you typed the same address you used before.
- Press the button on the page that opens; mail scanners that only open the link cannot use it up for you.
- Invited to a team? Sign in with the exact address that was invited.
Editing is turned off
- Cloud: the trial ended, a payment failed past the grace period or the plan ended. The banner names the reason. Content and API keep working. See Plans, billing and limits.
- Self-host: the license check failed, or the license was refunded, disputed or revoked. Check it in the license portal. If your install cannot reach the license server, the last answer keeps working for 14 days.
- Viewers cannot edit by design. Ask an Admin for a different role if you need to.
An upload or image is refused
- Only PNG, JPEG, GIF and WebP up to 5 MB. A renamed file of another type is refused because the real type is checked.
- On Cloud, check the storage left on your plan.
- In rich text, images from
http://ordata:addresses are removed on save. Upload the image to the media library instead.
The AI tools do not work (Cloud)
- You may have used the month's allowance. It resets each month.
- An image request can be refused by the content policy. A refused or failed request does not use any allowance.
- AI is not available on Self-host, or on a workspace whose plan has ended.
I cannot restore a version
A restore is refused when the old content no longer fits the content type, for example if a required field was added after that version was saved. Fill the missing field in the current version instead, or copy the text you need from the old one.
Self-host install problems
The setup messages and their fixes are in the Self-host guide. Running npm run setup again is always safe; it continues where it stopped. Visit /status on your install to see whether the database, media storage and license are connected.
Still stuck?
Write to hello@sharpwritecms.com. Tell us which edition you use, what you expected and what happened, and include any error message.