Skip to content

Errors

Every error response is application/problem+json (RFC 9457) and carries the same three fields - code, message, hint - next to type, title and status. type links to the code’s own row on this page. Some codes add details; quota_exceeded also puts limit, used and upgradeUrl at the top level, so a client reads them without digging:

{
"type": "https://docs.dropslate.top/api-reference/errors/#quota_exceeded",
"title": "quota_exceeded",
"status": 402,
"limit": 20,
"used": 20,
"upgradeUrl": "https://app.dropslate.top/settings/billing",
"code": "quota_exceeded",
"message": "The free plan includes 20 posts this month; 20 are in use.",
"hint": "What each plan includes is listed at https://app.dropslate.top/settings/billing.",
"details": { "kind": "posts", "plan": "free", "limit": 20, "used": 20, "upgradeUrl": "https://app.dropslate.top/settings/billing" }
}

Paid plans are not on sale yet, so upgradeUrl leads to Settings → Billing, which says so.

message states the fact from the request or the network verbatim - it’s a description, not something to pattern-match on. hint says what to do about it. code is the stable part - it doesn’t change meaning between releases, so check it instead of the HTTP status alone (several codes share a status: both insufficient_scope and forbidden are 403, but they mean different things).

These aren’t specific to one route - they can come back from most of the API.

Code HTTP Meaning What to do
unauthenticated 401 No valid key or session. Sign in, or send a key as Authorization: Bearer; check it was not revoked in Settings → API keys.
key_and_session 401 Both a key and a session cookie were sent. Send one: a key or a browser session.
insufficient_scope 403 The credential lacks the scope the route needs. Use a key with write, or connect the agent again and allow writing.
session_required 403 The route is for a signed-in person, not a key or an MCP connection. Do it in the dashboard.
forbidden 403 The signed-in user’s role doesn’t allow this action (see Members & roles). Ask an owner or admin.
origin_mismatch 403 A request with a session cookie did not come from the dashboard’s own origin. Reload the dashboard and try again.
not_found 404 The resource doesn’t exist - including one that belongs to a different workspace, which answers exactly the same as one that was never created. Also a path that is not a route. Check the id; take ids from the list routes, never guess them.
method_not_allowed 405 The path exists, but not for this method. Check the method in the OpenAPI reference.
invalid_request 400 The body, query or path does not match the schema; message names the field and details lists every problem. Fix the field message names.
payload_too_large 413 The request body is over the size the route accepts. Send a smaller body; upload a file through POST /media/uploads, not inside JSON.
unsupported_media_type 415 The body’s Content-Type is not one the route takes. Send application/json.
quota_exceeded 402 Over the plan’s limit. details.kind names which: accounts, posts, storage, file, members, groups, api or mcp (an agent on a plan that lets it read but not publish; limit and used are 0). See Plans & limits. Free up what kind names (cancel a post, disconnect an account, delete files); paid plans are not on sale yet.
rate_limited 429 Too many requests - see Rate limits. Wait the seconds in Retry-After, then try again.
internal 500 Dropslate could not complete the request; the cause is in our logs, not in the answer. Try again in a moment; if it keeps failing, write to support with the time.
Code HTTP Meaning What to do
confirm_required 409 POST /posts was called without confirm: true (the only REST route this gates - see Retry & cancel for why retry/cancel/reschedule don’t). Nothing was created. Show the plan, then send the same body with confirm: true.
plan_has_issues 409 A post cannot be created or queued because a check failed; details.rows carries the plan’s rows. Fix what the rows’ issues name, then plan again.
no_targets 400, 409 400: the post names no account. 409: the login used to connect an account manages none Dropslate can publish to. Pass accountIds, a groupId, or both; or connect with the login that owns the account.
media_not_found 404 A media id in the request is not in this workspace. Take the ids from the library.
invalid_time 400 publishAt is not a wall-clock time, or names a time that does not exist in its zone. Send YYYY-MM-DDTHH:MM with no offset and no Z, in the zone named by timezone.
invalid_timezone 400 timezone (or the workspace’s zone) is not an IANA zone name. Use a name like Europe/Kiev.
not_editable 409 Only a draft’s content can be edited. Cancel a queued post first; duplicate a live or failed one and edit the copy.
not_draft 409 The post is not a draft any more, so it cannot be queued as one. Reload the post; retry a failed one instead.
not_queued 409 Only a queued post can be cancelled. Reload the post; a failed one is deleted or retried.
not_failed 409 Only a failed post can be retried. Reload the post.
not_reschedulable 409 The post has no time to move: it is live or failed. Retry a failed post; duplicate a live one.
not_deletable 409 A queued or live post cannot be deleted. Cancel a queued post first; a live post stays on record.
publishing 409 The post is being published right now. Wait; it will be live or failed within minutes.
publish_interrupted 409 The previous attempt was interrupted before its result was recorded; the post is now failed. Check the channel before retrying: the post may already be there.
queue_unavailable 503 The queue did not take the post; it was saved as a draft. Queue the draft again in a moment.

Checks on a post’s content and time are not errors of their own. caption_too_long, video_too_large, publish_in_past and the other checks come back as rows[].issues[] of POST /posts/plan - each {code, message, hint, severity}, where severity is error (the row cannot be created) or info (advice), plus the facts the sentence names: platform, limit, actual, unit, subject, expected, contentType, state. The same rows are in details.rows of plan_has_issues and in a dropslate_plan_post table. Common errors explains the frequent ones; each network’s page lists the limits behind them.

Code HTTP Meaning What to do
unsupported_type 400 Dropslate does not take files of this MIME type. Upload a video (mp4, mov, webm) or an image (jpg, png, webp).
invalid_size 400 The declared size is not a positive whole number of bytes. Send the file’s size in bytes.
url_refused 400 POST /media/from-url refused the address: not https, private or local, or too many redirects. Give a public https link to the file itself.
already_uploaded 409 The upload URL was used once already. Ask for a new upload URL.
length_required 411 The upload PUT had no Content-Length. Send the exact size of the file.
size_mismatch 409 The bytes sent are not the size the upload URL was issued for. Ask for a new upload URL with the real size.
folder_cycle 409 A folder cannot be moved inside itself or its own child. Choose another parent.
folder_too_deep 409 Folders nest only so deep; message says how many levels. Use tags instead of another level.
name_taken 409 A group with this name already exists. Choose another name.
Code HTTP Meaning What to do
platform_unsupported 409 The network cannot be connected yet; hint names the ones that can. Connect one of the networks the hint names.
bad_state 400 The connection handshake is not valid: message says why - the link was used, it is older than ten minutes, or someone other than who started it finished it. Start connecting again from Accounts.
different_account 409 Reconnecting signed in to a login that does not manage this channel. Sign in to the login that owns the channel, or connect it as a new account.
invalid_signed_request 400 A request to Meta’s data-deletion callback did not carry a valid signature. Nothing for a client: this address answers Meta only.
Code HTTP Meaning What to do
own_role 409 An owner tried to change their own role. Another owner changes it.
last_owner 409 The change would leave the workspace without an owner. Make someone else an owner first.
owner_stays 409 An owner cannot be removed. Another owner demotes them first; then they can be removed.
already_member 409 The invited address is already a member. Change their role in the member list instead.
email_unverified 403 An invitation is accepted only from a confirmed email address. Open the confirmation link Dropslate mailed, then accept again.
two_factor_on 400 Two-factor authentication is already on for this account, so there is no first code to confirm. Nothing to do: codes are asked at sign-in.

The internal Owner plan is never sold; it is granted by an emailed invitation from the operator. These codes come from that invitation and from Settings → Owners, which only the operator sees.

Code HTTP Meaning What to do
two_factor_required 403 Managing owners needs two-factor authentication on the account. Turn it on in Settings → Security.
owners_locked 403 The Owners panel is locked for this session. Enter a code from your authenticator app.
invalid_code 400 The authenticator code is wrong. Enter the current six-digit code.
already_owner 409 The address or workspace is on the Owner plan already. Take the plan back first to invite again.
operator_workspace 409 The operator’s own workspace stays on the Owner plan. Change it with the server’s grant-owner script.
owner_plan_refused 409 The plan cannot be granted or taken back; message says why. Do what message names.
invite_not_found 404 The Owner invitation was used, cancelled or has expired. Ask for a new one.
invite_other_address 403 The invitation was sent to a different address than the signed-in one. Sign in with the address the letter came to.
not_workspace_owner 409 Only an owner of the workspace can accept the Owner plan for it. Switch to a workspace you own, then accept again.

The sign-in routes under /auth/* answer in the sign-in library’s own shape, {code, message} with an upper-case code and no type, so these codes have no row anchor. The dashboard shows them; a script that signs in sees them as they are.

Code HTTP Meaning What to do
CODE_SPENT 401 A two-factor code that was already used once. Wait for the next code in your authenticator app.
INVALID_TWO_FACTOR_COOKIE 401 The sign-in waiting for a code is not one this server started, or it has expired. Sign in again from the start.
TWO_FACTOR_ON 403 Signing in with Google to an account that has two-factor authentication on. Sign in with your email, password and a code.
OWNS_SHARED_WORKSPACE 400 Deleting an account that is the only owner of a workspace with other members. Make someone else an owner of each such workspace first.
INVALID_NAME, INVALID_IMAGE 400 A profile name that is empty, or an avatar that is not an https address. Give a name; use an https image or none.
NO_ACTIVE_WORKSPACE, NOT_FOUND 400, 404 An MCP consent that names no workspace while the session has none, or names a workspace you are not in. Choose one of your workspaces on the consent screen.

The library’s own codes, such as INVALID_EMAIL_OR_PASSWORD or EMAIL_NOT_VERIFIED, come back the same way.