Serifmark Sign in ·

Error codes

Every failed call returns JSON with a stable machine-readable code and a human message; the HTTP status follows the code. REST and MCP share this table — over MCP the same code and message arrive in the tool result. Failed Renders never consume a Credit.

Getting started · REST & MCP reference · Front-matter reference · Error codes

CodeHTTPWhat it meansWhat to do
invalid_source400 The Markdown Source failed validation: malformed or unclosed Front-matter, an unknown field, a value out of range, an empty source, or a source_type other than markdown (v1 renders Markdown only). Read message — it names the exact field path, e.g. color.ink. Fix the field and Render again; see the Front-matter reference.
source_too_large413 The Source exceeds the 1 MB limit. Split the document or trim large embedded data URIs, then Render again.
template_not_found404 The template name resolves to neither a built-in Template (default, report, resume) nor one of your private Templates. Another account's private Template looks the same as a missing one. Check the spelling, use one of your own private Templates, or drop the field to fall back to default.
page_limit_exceeded422 The rendered Document exceeds the 50-page limit. Split the Source into smaller documents and Render each part.
render_timeout504 The Render did not complete within 60 seconds. Simplify the document (very large diagrams or deeply nested content are the usual cause) and retry. The attempt costs nothing.
unauthorized401 The Bearer credential is missing, invalid, revoked or expired. Create a fresh API key in Console → API keys, or log in again for a new session token.
forbidden403 The credential is valid but the call is blocked by policy. The reason field says which: email_unverified — the account's email isn't verified yet; account_banned — the account is banned. A download URL with a bad signature also returns forbidden. For email_unverified, verify your inbox (resend available from the Console) — rendering and API keys unlock immediately after. For account_banned, contact support@serifmark.com.
insufficient_credits402 All three Credit buckets are empty. Every Render deducts in the order free monthly → subscription monthly → pack (never-expiring), so reaching 402 means the free allowance is spent, no subscription Credits remain this month, and no pack balance is left. The response carries credits_remaining. Subscribe or buy a Credit Pack on the Pricing page. Packs never expire and carry over after monthly Credits run out.
rate_limited429 A daily cap is reached: the free tier's 5 renders per day, or an abuse-protection cap on signups, logins, demo renders or checkout attempts from one IP. Wait for the daily reset (UTC-day boundaries); sign-in limits clear the next day. An active subscription or a pack balance removes the daily render cap.
payment_unavailable503 The payment channel is not configured or its upstream is temporarily down. Retry in a moment; if it persists, contact support@serifmark.com.
subscription_active409 The account already has an active subscription; starting another is refused to prevent double billing. Manage or cancel the existing subscription from the billing portal on the Pricing page, then subscribe again.
email_taken409 The email address is already registered. Log in instead, or request a password reset if you forgot it.
reset_token_invalid400 The password-reset token is missing, invalid or expired. Invalid and expired are deliberately indistinguishable. Request a new reset email and use it promptly.
key_limit_exceeded409 The account already holds 20 active (unrevoked) API keys. Revoke a key you no longer use in Console → API keys, then create the new one.
key_name_taken409 An active API key with this name already exists. Revoke it or pick a different name; revoking frees the name.
theme_name_taken409 A private Template with this name already exists, or the name collides with a reserved built-in (default, report, resume). Rename the new Template, or delete the existing one in Console → My templates.
theme_limit_exceeded422 The account reached its private-Template limit. Delete an unused Template, then create the new one.
not_found404 The addressed resource does not exist — e.g. revoking a key id that is already gone. Check the identifier; list keys or Templates for the current state.
gone410 The signed download link has expired. Documents are deleted after expiry — nothing is kept on the server. Render again and fetch the fresh download_url promptly; links last 10 minutes by default.
invalid_request400 The request body is not valid JSON, or an account-route field (name, password, plan) failed validation. Read message for the offending field, fix it and retry.
internal_error500 Something failed inside the service. Failed Renders are refunded — no Credit is charged. Retry; if it persists, contact support@serifmark.com with the time of the call.