Errors

Every error answer has the same body. code is stable and meant for programs; message is for people and may be reworded; field names the field the error is about, or is null; details lists every problem when there are several (for example one entry per channel and field when a post breaks a platform rule).

{
  "error": {
    "code": "validation_error",
    "message": "title is required for YouTube.",
    "field": "channels.0.options.title",
    "details": [{"field": "channels.0.options.title", "message": "title is required for YouTube."}]
  }
}

The HTTP status says the family: 400 a request that could not be understood (including credentials_in_url), 401 the credential is not accepted, 403 it is accepted but not allowed (api_not_in_plan, insufficient_scope, forbidden), 404 not_found (also for an id that belongs to another workspace), 409 the object is in the wrong state, 422 a field is wrong, 429 slow down (rate_limited, daily_post_limit), 5xx a fault on our side: try again later. The MCP tools return the same codes as tool errors (isError: true).

A new code is added to this list before it is ever returned, and a code never changes its meaning.

Error codes

Code Meaning
invalid_credentials The key or token is missing, unknown, revoked or no longer allowed.
credentials_in_url A key or token was sent in the URL. Send it as 'Authorization: Bearer'.
api_not_in_plan The workspace's plan does not include the API.
insufficient_scope The credential does not have the scope this request needs.
forbidden The request is not allowed.
not_found There is no such object in this workspace.
method_not_allowed This method is not supported on this URL.
not_acceptable The response format asked for is not available. The API speaks JSON.
unsupported_media_type Send the body as application/json.
invalid_request The request could not be understood.
validation_error A field is missing or not valid.
rate_limited Too many requests. Wait for 'Retry-After' seconds.
daily_post_limit The workspace has used its daily allowance of posts created through the API and MCP.
idempotency_key_reused The Idempotency-Key was already used with a different request.
idempotency_key_in_progress A request with this Idempotency-Key is still running.
required A required field is missing.
rights_not_confirmed rights_confirmed must be true: confirm the file is yours or you may publish it.
limit_reached The plan's allowance for this is used up.
url_not_allowed The URL is not allowed: only public https addresses are fetched or called (media URLs, webhook targets).
url_fetch_failed The file could not be downloaded from the URL.
processing_failed The file could not be processed.
media_refused The file is not acceptable: its type, size or content is refused.
upload_expired The upload URL has expired. Create a new upload.
upload_already_used The upload URL was already used. Create a new upload.
upload_missing No file has been uploaded to this upload yet.
naive_datetime A time needs an offset: write it as RFC 3339, for example 2026-12-01T09:00:00+02:00 or ...Z.
media_not_ready A media item is still processing or failed. Wait until get_media says it is ready.
post_not_editable The post is being published, was sent, expired or was taken down, so it cannot be changed.
post_not_deletable Only a post that was never sent or approved can be deleted. Use delete-published for a sent one.
confirmation_required Taking a published post down needs an explicit 'confirm': true in the request.
invalid_idempotency_key The Idempotency-Key is not 1 to 255 printable ASCII characters without spaces.
server_error Something went wrong on our side. Try again later.