Errors
What this is
Section titled “What this is”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).
Cross-cutting codes
Section titled “Cross-cutting codes”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.
Media, folders and groups
Section titled “Media, folders and groups”Accounts
Section titled “Accounts”Workspace and members
Section titled “Workspace and members”The Owner plan
Section titled “The Owner plan”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.
Sign-in codes without a problem body
Section titled “Sign-in codes without a problem body”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.