Errors
Every refusal carries a stable code: act on it, never on the message text, which is written for people and may change. The HTTP status says the class, the code says what happened. Each operation page lists the codes it can return.
Over REST
A JSON body with error.code and error.message; retryAfterMs on 429, details on not_publishable.
HTTP/1.1 409 Conflict
Content-Type: application/json
{
"error": {
"code": "not_publishable",
"message": "Not ready to publish: 1 spot has no photo (Tunnel View)",
"details": {
"blocking": [
{ "code": "missing_photos", "message": "1 spot has no photo (Tunnel View)" }
]
}
}
}Over MCP
A tool result with isError: true and the code at the start of the text. A refused call is never a JSON-RPC protocol error.
{
"jsonrpc": "2.0",
"id": 7,
"result": {
"content": [
{ "type": "text", "text": "Error rate_limited: Too many attempts. Try again later." }
],
"isError": true
}
}400
A reels value contains a non-HTTPS URL, unsupported host, profile, story or other unsupported link.
What to do: Send an Instagram reel, post or TV link, a TikTok video link or a supported TikTok short link.
A reels property is not an array or an item has no URL.
What to do: Send an array of URL strings or objects with url.
Two links in one spot property have the same canonical URL.
What to do: Keep each reel once in the property.
One spot property contains more than 24 reels.
What to do: Send up to 24 reels per property.
A required field is missing, a field is unknown, or a value does not match its type (the Convex validator's path and value are in the message).
What to do: Fix the field named in the message. The operation's parameters list every accepted field with its type.
A writer refused a value: a map link on a host that is not allowed, a title that is too long, a date that does not exist, too many items in a list. The message is the writer's own sentence.
What to do: Change the value the message names and send the request again. Do not retry unchanged.
A POST, PUT or PATCH body is not valid JSON, or is JSON but not an object.
What to do: Send a JSON object with Content-Type: application/json.
An upload's bytes are not a JPEG, PNG or WebP file, or their dimensions cannot be read. The bytes are checked, not the Content-Type header.
What to do: Convert the photo to JPEG or WebP and upload it again.
An upload is more than 6,000 px on a side.
What to do: Resize to 2,048 px on the long side and compress before uploading.
Wikimedia Commons was busy or silent during a search or an add.
What to do: Try again in a few minutes. Nothing was added.
read_map_list with a link that is not a shared Google Maps list.
What to do: Ask the creator for the list's share link: in Google Maps, Saved, the list, Share.
read_map_list on a list that is private, deleted, or that Google did not answer for.
What to do: Ask the creator to share the list with anyone who has the link, or to send a CSV from Google Takeout.
read_track_link with a link from a planner app (Komoot, Strava, AllTrails) or a page without a drawn line. The message says how to export a GPX file from that app.
What to do: Ask the creator for the GPX or KML file and send its line as update_hike track.
read_track_link on a Google My Maps map that only its owner can open.
What to do: Ask the creator to share the map with anyone who has the link, then try again.
read_track_link on a drawing or map file over 4 MB.
What to do: Ask the creator for the hike's own GPX file.
read_track_link when the drawing or map did not answer.
What to do: Try again, or ask the creator for the file.
tools/call names a tool the server does not have.
What to do: Call tools/list and use a listed name.
401
The request carries no key. Send it as Authorization: Bearer sk_sceniq_... (or X-Api-Key).
What to do: Add the header. MCP clients take it in their server config.
The key is unknown, revoked or expired.
What to do: Ask the creator for a new key (studio, Settings, API keys). Keys are shown once, when they are created.
403
A read-only key called a write operation, or a key without the publish option called publish_changes.
What to do: Ask the creator for a key with the scope the message names. Never work around it.
The action is interactive only: deleting a guide, removing a language, money and tax settings, payouts, the creator agreement, API keys, the account. A key never reaches it.
What to do: Hand the step to the creator with its studio link.
The key belongs to a creator account that is no longer active.
What to do: Stop and tell the creator; the account needs attention in the studio.
404
The id does not exist or belongs to another creator. The two answers are identical on purpose, so ids never reveal what exists.
What to do: Read the id again from a list operation (list_guides, list_spots, ...).
No operation answers at this method and path.
What to do: Check the path against the reference or the OpenAPI document.
405
The path exists for other methods (the Allow header lists them), or a GET or DELETE reached the MCP endpoint.
What to do: Use a method from the Allow header. The MCP endpoint only takes POST.
409
The row changed after the expectedUpdatedAt you sent (update_chapter, set_chapter_pages, update_itinerary, set_itinerary_days, save_sales_page_draft).
What to do: Read the row again, apply your change to the new version, and send it with the new updatedAt.
delete_spot on a guide someone bought. Buyers keep what they paid for.
What to do: Archive the spot instead: update_spot with archived true.
The request clashes with the row's current state. The message says what to change.
What to do: Read the row again and follow the message.
discard_guide_changes while the guide's save or a publish is still building; backup_guide when the guide kept changing while it was read.
What to do: Wait, then try again: a discard once get_publish_status shows savePendingSince and pendingSince null again (usually seconds), a backup once the edits have stopped.
discard_guide_changes on a guide that was never saved, so there is nothing to go back to.
What to do: Nothing to discard. save_guide_changes makes the first save.
publish_changes or publish_guide while a gate is open: the agreement, no live spot, a live spot without a pin or a photo, no price. details.blocking lists each gate as { code, message }.
What to do: Fix each blocking item (get_publish_status lists them), then publish only if the creator asks.
publish_changes on a draft or archived guide, which has no live version to update.
What to do: Putting it on sale is publish_guide, only when the creator asks; otherwise hand the creator the reviewUrl.
publish_changes when buyers already see every change.
What to do: Nothing to do. get_publish_status shows the live version.
A price change or a publish by a creator who never accepted the creator agreement. A newer agreement version never causes it.
What to do: Ask the creator to accept it in the studio, then try again.
413
A JSON body over 2 MB, an image over 6 MB, a batch upload over 19 MB, or an MCP message over 2 MB.
What to do: Split the request (upsert_spots takes 25 spots per call) or compress the photo.
429
Over a limit: requests per key per minute, per creator per hour, uploads per key per minute, or check_links per guide per hour.
What to do: Wait for Retry-After (seconds) or retryAfterMs, then continue. Do not retry in a tight loop.
500
An unexpected failure. The message is hidden on purpose.
What to do: Try once more after a short wait. If it repeats, tell the creator and write to creators@sceniq.earth with the time and the operation.
MCP protocol errors
A malformed message is answered as JSON-RPC: -32700 (not JSON), -32600 (not a JSON-RPC 2.0 message), -32601 (a method the server does not offer: it offers initialize, ping, tools/list and tools/call), -32602 (tools/call without a known tool name). A missing or invalid key answers HTTP 401 with -32000 and the error code in error.data.code.
The SCN- reference beside each code is what the Sceniq Earth apps show people for the same class of error; quote it when writing to creators@sceniq.earth.