Docs

API errors

Every problem the Page Lemon API and MCP server return has one of these 31 keys, an HTTP status and a page. The problem's type member is the address of its page, and clients branch on key and nothing else. A problem may also carry a reason member for support; it is not part of the contract.

Last updated

Page options
KeyStatusWhat a client does
already_exists409It is there already: use it, or pick another name.
approval_required403 or 409A person has to do this: give them the link in the body (approval, protect_url) or ask them.
bad_request400Fix the request: unreadable JSON or a bad header.
banned403 or 409Stop: the account, workspace or person is suspended or restricted.
blocked_content400 or 422Remove the secret or the refused content, then send again.
commit_unknown503Retry with the same Idempotency-Key: it answers with what happened.
confirmation_required409 or 422Show the preview and send again with confirm_token once the person says yes. An expired or used token: ask again.
conflict409The current state does not allow this; detail says what to do first.
cursor_expired410Restart the list or sync from the start.
forbidden403Stop: this key or person has no right to do this.
frozen403 or 409Open upgrade_url, or unfreeze the site or workspace.
gone409 or 410It expired, was used or ended: start again.
human_check_required403Show the human check, then send again.
idempotency_in_progress409Wait retry_after_seconds, then send again with the same Idempotency-Key.
idempotency_mismatch422Use a new Idempotency-Key.
insufficient_scope403Use a key with required_scope (and also_required when named: people is the People's data tick).
internal500Try again later; report the request_id.
limit_reached403 or 409 or 422 or 429Remove some, or wait for the cap to free up.
method_not_allowed405Use another method.
not_found404Check the id. A renamed site names the new name.
plan_limit403 or 409 or 429Upgrade: needs_plan and offer say to what.
precondition_failed412Read again (current, version), then send with that version.
precondition_required428Send the version you read (If-Match, etag or base_version).
rate_limited429Wait retry_after_seconds, then send again.
reauthentication_required401 or 403Sign in again: a fresh sign-in or a step-up is needed.
too_large413 or 422Send less (max_bytes).
unauthorized401Sign in, or send a valid credential.
unavailable502 or 503Retry shortly (retry_after_seconds).
unsupported_media_type415Send the content type the route takes.
validation_failed400 or 422Fix the input: errors and detail say which.
version_conflict409Read again, apply your change, send again.

Still stuck? Ask your AI

Need support with PageLemon.com, about API errors

Still need a person? Contact us