Skip to content
DocsErrors

REST API

Errors

Every error code the API returns: its status, what it means, and what to do.

View as Markdown

On this page

Every error is an RFC 9457 problem with Content-Type: application/problem+json. Branch on code: it is stable, while detail is written for people and may change. type is the URL of the code’s entry on this page, and requestId is the id to quote when you contact us. Codes can carry extra members, listed below; ignore members you do not know, and treat codes you do not know by their status.

JSON
{
  "type": "https://taskloader.com/docs/api/errors#version_conflict",
  "title": "The resource changed since you read it",
  "status": 412,
  "code": "version_conflict",
  "detail": "TL-012 is at version 8. You sent version 7. Nothing was changed. Read the task, check the change still makes sense, and retry with version 8 (over HTTP, If-Match: \"8\" works too).",
  "instance": "/api/v1/tasks/task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
  "requestId": "req_01JD3Q4S9V0M6T2H8K5N7P1RXA",
  "currentVersion": 8,
  "current": {
    "object": "task",
    "id": "task_0b6f1d2a8c9e4f00a1b2c3d4e5f60718",
    "version": 8,
    "…": "…"
  }
}
CodeStatusMeaningRetry
invalid_request400The request is malformedNo
validation_failed400The input is not validNo
invalid_id400The id is for a different kind of resourceNo
invalid_cursor400The cursor is not validNo
invalid_idempotency_key400The Idempotency-Key header is not validNo
token_in_url400Tokens are not accepted in URLsNo
part_out_of_range400The part number is out of rangeNo
part_length_mismatch400The part has the wrong sizeAfter acting
digest_mismatch400The part does not match its digestYes
invalid_preview400The preview is not acceptedNo
unauthenticated401Authentication requiredNo
invalid_token401The token is not validNo
insufficient_scope403The credential lacks the required accessNo
credential_restricted403The credential is limited to some projectsNo
forbidden_role403Your role does not allow thisNo
not_found404Not foundNo
route_not_found404No such endpointNo
invitation_unavailable404The invitation is no longer availableNo
method_not_allowed405Method not allowedNo
already_member409Already a memberNo
slug_taken409That link is takenNo
neighbors_changed409The neighbouring tasks changedNo
upload_incomplete409The upload is missing partsAfter acting
assistant_busy409The assistant is busyYes
proposal_closed409The proposed changes are closedNo
invitation_used409The invitation was already usedNo
idempotency_key_in_progress409The original request is still runningYes
cursor_expired410The cursor has expiredNo
version_conflict412The resource changed since you read itNo
payload_too_large413The request body is too largeNo
file_too_large413The file is too largeNo
unsupported_media_type415Unsupported media typeNo
unsupported_file_type415This file type is not acceptedNo
range_not_satisfiable416The range cannot be servedNo
idempotency_key_reused422The Idempotency-Key was used for another requestNo
assignee_not_member422The assignee is not a memberNo
not_organization_member422Not in the organizationNo
owner_immutable422The owner cannot be changedNo
cannot_remove_self422Use leave to remove yourselfNo
slug_reserved422That link is reservedNo
checklist_item_not_found422Checklist item not foundNo
checklist_full422The checklist is fullNo
invalid_bookmark_url422This link cannot be bookmarkedNo
not_a_bookmark422The task bookmarks no pageNo
file_type_mismatch422The file is not of its declared typeNo
search_too_broad422The search reads too many tasksNo
precondition_required428A version is requiredNo
rate_limited429Too many requestsYes
daily_limit_reached429Daily limit reachedYes
too_many_open_uploads429Too many unfinished uploadsAfter acting
storage_quota_exceeded413Storage quota reachedAfter acting
too_many_transfers429Too many file transfers at onceYes
too_many_invitations429Too many active invitationsNo
assistant_hourly_limit429Assistant limit reachedYes
too_many_projects429Too many projectsNo
internal_error500Something went wrongYes
service_unavailable503Taskloader is temporarily unavailableYes
storage_unavailable503File storage is unavailableYes
assistant_unavailable503The assistant is not availableNo

invalid_request

#

The request is malformed. The request could not be read. Check the JSON body, the headers and the query parameters against the API reference.

  • Status: 400
  • Retry: no, not without changing the request
  • Returned by: every operation

What to do: Fix the request format; sending the same request again will fail the same way.

validation_failed

#

The input is not valid. Some fields are missing or not valid. See errors for each field.

  • Status: 400
  • Retry: no, not without changing the request
  • Extra members: errors; matches when a reference names more than one thing (resolve_reference, and MCP tools); moreErrors when more than 20 problems were found (errors lists the first 20)
  • Returned by: every operation

What to do: Read errors[].pointer and errors[].detail, fix those fields, then retry.

invalid_id

#

The id is for a different kind of resource. This id names a different kind of resource than this operation expects.

  • Status: 400
  • Retry: no, not without changing the request
  • Extra members: expected, received
  • Returned by: operations that name a resource by id or reference

What to do: Use an id of the kind the message names, or a ref or URL where the parameter accepts one.

invalid_cursor

#

The cursor is not valid. This cursor is not valid for this list. Start again without cursor when you change filters.

What to do: Drop cursor and request the first page again with the filters you want.

invalid_idempotency_key

#

The Idempotency-Key header is not valid. Idempotency-Key must be 1 to 255 printable ASCII characters. A UUID works well.

What to do: Send a new UUID as the Idempotency-Key, or leave the header out.

token_in_url

#

Tokens are not accepted in URLs. Tokens in URLs are not accepted. Revoke this token and send a new one in the Authorization header.

  • Status: 400
  • Retry: no, not without changing the request
  • Returned by: every operation

What to do: Tell the person this token was exposed in a URL and must be revoked; send tokens only in the Authorization header.

part_out_of_range

#

The part number is out of range. Part numbers run from 1 to the upload’s partCount.

  • Status: 400
  • Retry: no, not without changing the request
  • Extra members: partCount
  • Returned by: upload_part

What to do: Use a part number between 1 and partCount from start_upload.

part_length_mismatch

#

The part has the wrong size. This part is not the expected size. Send exactly expectedBytes bytes for it.

  • Status: 400
  • Retry: yes, once you have acted (see What to do); waiting alone does not help
  • Extra members: expectedBytes
  • Returned by: upload_part

What to do: Send the part again with exactly expectedBytes bytes.

digest_mismatch

#

The part does not match its digest. The Content-Digest header does not match the bytes received. The part was not stored; send it again.

What to do: Send the part again; if it fails twice, compute its SHA-256 digest again.

invalid_preview

#

The preview is not accepted. Previews must be WebP or JPEG images, sent with their own Content-Type, for files that can have one; only videos take a duration.

  • Status: 400
  • Retry: no, not without changing the request
  • Returned by: upload_preview

What to do: Send a WebP or JPEG preview, or skip the preview for this kind of file.

unauthenticated

#

Authentication required. Send an API key or an OAuth access token in the Authorization header: Authorization: Bearer <token>.

  • Status: 401
  • Retry: no, not without changing the request
  • Headers: WWW-Authenticate
  • Returned by: every operation

What to do: The request carried no credential; the person needs to connect Taskloader or provide an API key.

invalid_token

#

The token is not valid. The access token is invalid or revoked.

  • Status: 401
  • Retry: no, not without changing the request
  • Extra members: reason
  • Headers: WWW-Authenticate
  • Returned by: every operation

What to do: Do not retry with this token: refresh an OAuth token, or ask the person for a new API key.

insufficient_scope

#

The credential lacks the required access. This credential was not granted the access this operation needs.

  • Status: 403
  • Retry: no, not without changing the request
  • Extra members: requiredScopes, grantedScopes
  • Headers: WWW-Authenticate
  • Returned by: every operation that needs a scope

What to do: Tell the person which access requiredScopes names. An API key cannot gain access: they create a key that includes it. A connected app gets it when they disconnect it in Account settings → Connected apps and connect it again with that access.

credential_restricted

#

The credential is limited to some projects. This credential is limited to some projects, so it cannot use account or organization operations. Use a credential with access to all your projects.

What to do: This key or connection is limited to certain projects; tell the person this needs access to all projects.

forbidden_role

#

Your role does not allow this. Your role does not allow this action.

  • Status: 403
  • Retry: no, not without changing the request
  • Extra members: requiredRole, level
  • Returned by: operations that need more than a viewer’s role

What to do: The person’s role does not allow this; tell them instead of retrying.

not_found

#

Not found. It does not exist, or you do not have access to it.

  • Status: 404
  • Retry: no, not without changing the request
  • Returned by: operations that name a resource by id or reference

What to do: Check the ref with search_tasks or list_projects; you may not have access.

route_not_found

#

No such endpoint. There is no endpoint at this path. Check the path against the API reference.

  • Status: 404
  • Retry: no, not without changing the request
  • Returned by: any request

What to do: Check the method and path against the API reference at /docs/api.

invitation_unavailable

#

The invitation is no longer available. This invitation has expired, was already used, or was revoked. Ask for a new link.

What to do: Tell the person this invitation link no longer works and they need a new one.

method_not_allowed

#

Method not allowed. This endpoint does not support this method. The Allow header lists the ones it does.

  • Status: 405
  • Retry: no, not without changing the request
  • Extra members: allow
  • Headers: Allow
  • Returned by: any request

What to do: Use one of the methods listed in allow.

already_member

#

Already a member. This person is already in the project; their role was not changed.

  • Status: 409
  • Retry: no, not without changing the request
  • Extra members: memberId, role
  • Returned by: add_project_member

What to do: They keep the role they have, given in role. If another role was wanted, change it after asking (change_member_role, or PATCH /projects/{projectId}/members/{memberId}); otherwise there is nothing to do.

slug_taken

#

That link is taken. Another organization already uses that link. Choose a different one.

What to do: Pick a different slug and retry.

neighbors_changed

#

The neighbouring tasks changed. The before or after task is gone or no longer in the target column, or the two are now the wrong way round. Read the column again and retry.

  • Status: 409
  • Retry: no, not without changing the request
  • Returned by: move_task

What to do: Search the target column again for its current tasks, then retry the move.

upload_incomplete

#

The upload is missing parts. Some parts have not arrived yet. Upload the missing parts, then complete the upload.

  • Status: 409
  • Retry: yes, once you have acted (see What to do); waiting alone does not help
  • Extra members: missingParts, receivedParts
  • Returned by: complete_upload

What to do: Upload each part in missingParts, then complete the upload again.

assistant_busy

#

The assistant is busy. The assistant is still answering in this conversation, or already answering two of your questions. Ask again once one has finished.

What to do: Wait for messageId to finish (get_assistant_answer, or GET /assistant/messages/{messageId}?wait=25), then try again.

proposal_closed

#

The proposed changes are closed. These proposed changes were already applied, are being applied, or were dismissed.

What to do: Read the answer again (get_assistant_answer, or GET /assistant/messages/{messageId}) to see each change’s result; never apply a proposal twice.

invitation_used

#

The invitation was already used. This invitation was already accepted, so it can no longer be revoked. Remove the member instead if their access should end.

What to do: The invitation was accepted; remove the member if their access should end.

idempotency_key_in_progress

#

The original request is still running. A request with this Idempotency-Key is still running. Retry in a second to get its result.

What to do: Wait a second, then retry with the same key.

cursor_expired

#

The cursor has expired. This events cursor is older than the 7-day retention. Take a new cursor with after=now first, then read the current state from the lists, and follow the feed from that cursor.

  • Status: 410
  • Retry: no, not without changing the request
  • Returned by: list_events

What to do: Get a new cursor with after=now, then read the current state from the list operations (sorted by createdAt), then follow the events feed from that cursor.

version_conflict

#

The resource changed since you read it. It changed since you read it, so nothing was changed. Read it again, check the change still makes sense, and retry with the current version.

What to do: Read currentVersion (and current, when it is attached), check the change still makes sense, then retry with that version.

payload_too_large

#

The request body is too large. The request body is larger than this endpoint accepts (limitBytes).

  • Status: 413
  • Retry: no, not without changing the request
  • Extra members: limitBytes
  • Returned by: operations that take a request body (every method but GET)

What to do: Send a smaller body; split large inputs into several requests.

file_too_large

#

The file is too large. The file is larger than allowed (limitBytes). Files can be up to 100 MiB, and one-shot uploads up to 8 MiB.

What to do: Use a multipart upload for files over 8 MiB; files over 100 MiB cannot be attached.

unsupported_media_type

#

Unsupported media type. This endpoint does not accept this Content-Type, or the body is compressed. See accepted.

  • Status: 415
  • Retry: no, not without changing the request
  • Extra members: accepted
  • Returned by: operations that take a request body (every method but GET)

What to do: Send the body uncompressed, with one of the accepted content types.

unsupported_file_type

#

This file type is not accepted. Taskloader does not accept this type of file. See accepted for the types you can attach.

What to do: Tell the person this type of file cannot be attached.

range_not_satisfiable

#

The range cannot be served. The Range header does not fit the file. Ask for one range within the file’s size.

  • Status: 416
  • Retry: no, not without changing the request
  • Extra members: size
  • Headers: Content-Range
  • Returned by: download_attachment

What to do: Ask for a range within the file’s size, or leave Range out.

idempotency_key_reused

#

The Idempotency-Key was used for another request. This Idempotency-Key was already used for a different request. Use a new key for a new request.

What to do: Use a new Idempotency-Key (or requestId) for a different request.

assignee_not_member

#

The assignee is not a member. No member of this project has this member id.

What to do: Member ids belong to one project: pick the assignee from this project’s members (list_members, or GET /projects/{projectId}/members).

not_organization_member

#

Not in the organization. Only members of the organization can be added directly. Create an invitation link for anyone else.

What to do: Invite the person instead of adding them (invite_people, or POST /projects/{projectId}/invitations).

owner_immutable

#

The owner cannot be changed. The owner cannot be demoted, removed or leave.

What to do: Tell the person the owner cannot leave, be removed or change role.

cannot_remove_self

#

Use leave to remove yourself. You cannot remove yourself here. Use the leave operation to leave.

What to do: To leave, use leave_project or leave_organization.

slug_reserved

#

That link is reserved. That link is kept for Taskloader’s own pages. Choose a different one.

What to do: Pick a different slug and retry.

checklist_item_not_found

#

Checklist item not found. That item is not on this task’s checklist.

What to do: Read the task again with get_task and use a current checklist item id.

checklist_full

#

The checklist is full. A checklist holds up to 100 items.

  • Status: 422
  • Retry: no, not without changing the request
  • Returned by: edit_checklist

What to do: Remove or combine items before adding more.

invalid_bookmark_url

#

This link cannot be bookmarked. Only public http or https links without credentials, up to 2,048 characters once encoded (each character outside ASCII counts as its percent escapes: ж is %D0%B6), can be bookmarked.

  • Status: 422
  • Retry: no, not without changing the request
  • Returned by: add_bookmark

What to do: Use a public http(s) URL without a user name or password.

not_a_bookmark

#

The task bookmarks no page. This task does not bookmark a page.

  • Status: 422
  • Retry: no, not without changing the request
  • Returned by: remove_bookmark

What to do: There is no bookmark to remove; nothing to do.

file_type_mismatch

#

The file is not of its declared type. The file’s bytes do not match its declared type, so the upload was canceled.

What to do: Check the file’s bytes and its declared type, then send it again.

search_too_broad

#

The search reads too many tasks. This search with words reads too many tasks to answer in time. Narrow it with a status, assignee or date filter, or search fewer projects, then try again.

What to do: Search again with filters that narrow it (status, assignee, due dates, one project) or more specific words; the same search fails again.

precondition_required

#

A version is required. This change needs the version you read. Send If-Match: "<version>", or version in the body (?version=<version> on a DELETE, which has no body); If-Match: * is not accepted.

What to do: Read the resource, then retry with its version.

rate_limited

#

Too many requests. Too many requests. Wait Retry-After seconds, then try again.

  • Status: 429
  • Retry: yes, after a pause
  • Extra members: bucket, retryAfter
  • Headers: Retry-After, RateLimit, RateLimit-Policy
  • Returned by: every operation

What to do: Wait as many seconds as retryAfter says, then try again.

daily_limit_reached

#

Daily limit reached. The daily limit for this action through the API and MCP is reached: 10 organizations, 50 projects or 100 invitations a day.

What to do: Tell the person the daily limit is reached; it frees up after as many seconds as retryAfter says.

too_many_open_uploads

#

Too many unfinished uploads. You have 12 unfinished uploads. Complete or cancel some, then try again.

What to do: Complete or cancel an unfinished upload (complete_upload or cancel_upload) before starting another. An unfinished upload stops counting an hour after its last part arrived (or after it started, before the first part), and 24 hours after it started at the latest.

storage_quota_exceeded

#

Storage quota reached. This file would take the files stored past the quota (limitBytes): 10 GiB for the files one person uploads, 50 GiB for an organization’s files. Delete some files, then try again.

What to do: Do not retry with this file yet. Tell the person their files (or their organization’s) use all the storage allowed; deleting attachments frees it, unfinished uploads count until they are completed or canceled.

too_many_transfers

#

Too many file transfers at once. Too many of your file transfers are under way at once: up to 8 downloads and 4 upload bodies (parts or files) per person, and 4 downloads through one signed link (8 through all of one person's links). Wait Retry-After seconds, then try again.

What to do: Wait as many seconds as retryAfter says, and send fewer file requests at the same time.

too_many_invitations

#

Too many active invitations. There are 20 active invitation links here. Revoke one to create another.

What to do: Revoke an unused invitation before creating another (list_invitations, or GET /projects/{projectId}/invitations or /organizations/{organizationId}/invitations).

assistant_hourly_limit

#

Assistant limit reached. You asked 60 questions in the last hour, across every app. Try again later.

  • Status: 429
  • Retry: yes, after a pause
  • Extra members: retryAfter
  • Headers: Retry-After
  • Returned by: ask_assistant

What to do: Tell the person the assistant’s hourly limit is reached; ask again after as many seconds as retryAfter says.

too_many_projects

#

Too many projects. This person can’t be in more projects.

What to do: Tell the person: they are in as many projects as one person can be, and need to leave one they no longer need, in Taskloader, before they can create, join or be added to another.

internal_error

#

Something went wrong. Something went wrong on Taskloader’s side. Retry, and contact us with the request id if it keeps happening.

  • Status: 500
  • Retry: yes, after a pause
  • Returned by: every operation

What to do: Retry once; if it fails again, tell the person and include requestId.

service_unavailable

#

Taskloader is temporarily unavailable. Taskloader is temporarily unavailable. Retry in a few seconds.

  • Status: 503
  • Retry: yes, after a pause (Retry-After, 5 s unless it says otherwise)
  • Extra members: retryAfter
  • Headers: Retry-After
  • Returned by: every operation

What to do: Wait as many seconds as retryAfter says, then retry.

storage_unavailable

#

File storage is unavailable. File storage is not available right now. Retry later.

What to do: Wait as many seconds as retryAfter says, then retry; until then files cannot be read or attached.

assistant_unavailable

#

The assistant is not available. The assistant is not set up on this Taskloader server.

  • Status: 503
  • Retry: no, not without changing the request
  • Returned by: ask_assistant

What to do: The assistant is not available here; answer without it.