Skip to content

API errors

Read API error responses and decide whether to correct, retry, or stop a request.

Error response format

Errors use the RFC 9457 Problem Details format with Content-Type: application/problem+json. Branch on code, not on detail, which is for people and can change. The type URL of every code links to its entry in the code list.

JSON
{
  "type": "https://projectfeed.app/docs/api/errors#validation_error",
  "title": "Bad Request",
  "status": 400,
  "detail": "title is required",
  "code": "validation_error",
  "instance": "urn:projectfeed:request:550e8400-e29b-41d4-a716-446655440000",
  "requestId": "550e8400-e29b-41d4-a716-446655440000"
}

Some 400 and 413 responses add fields that say which limit was hit: field, actualLength, minLength, maxLength, lengthUnit, actualBytes, maxBytes, actualItems, minItems, and maxItems. Validation errors on request bodies and query parameters also include an errors array of up to 25 issues, each with a message and usually the field it is about. An issue can carry a code such as unknown_field. When only one field is at fault, the top-level field names it too.

JSON
{
  "type": "https://projectfeed.app/docs/api/errors#validation_error",
  "title": "Bad Request",
  "status": 400,
  "detail": "Title is too long.",
  "code": "validation_error",
  "field": "title",
  "actualLength": 612,
  "maxLength": 500,
  "lengthUnit": "visible_utf16",
  "requestId": "550e8400-e29b-41d4-a716-446655440000"
}

Requests that send API version 2026-10-14 reject body fields a write route does not accept, which catches typos such as dueDat. See versioning. A key that lacks a scope gets 403 with the scopes it needs in requiredScopes.

JSON
{
  "type": "https://projectfeed.app/docs/api/errors#validation_error",
  "title": "Bad Request",
  "status": 400,
  "detail": "Unknown field 'dueDat'",
  "code": "validation_error",
  "field": "dueDat",
  "errors": [
    { "field": "dueDat", "message": "Unknown field 'dueDat'", "code": "unknown_field" }
  ],
  "requestId": "550e8400-e29b-41d4-a716-446655440000"
}
JSON
HTTP/1.1 403 Forbidden
WWW-Authenticate: Bearer error="insufficient_scope", scope="tasks:write"

{
  "type": "https://projectfeed.app/docs/api/errors#permission_denied",
  "title": "Forbidden",
  "status": 403,
  "detail": "API key lacks required permission 'tasks:write'",
  "code": "permission_denied",
  "requiredScopes": ["tasks:write"]
}

Every API response has an X-Request-Id header. Send your own UUIDv4 in that header to trace a request, or the API generates one. Error bodies repeat it as requestId. Include it when you contact support.

HTTP status codes

200OK

The request succeeded. Most reads, updates, and deletes.

201Created

A new resource was created. Inbound webhook routes return 201 for a new item and 200 for an update.

204No Content

Deleting a canvas, canvas item, doc, doc comment, docs space, chat message, or chat object link. Other deletes return 200 with a JSON body, and marking notifications read returns 200 with success and count.

400Bad Request

The request is invalid.

401Unauthorized

The credential is missing, invalid, or not active.

403Forbidden

The credential is valid but not allowed.

404Not Found

The resource or path does not exist.

405Method Not Allowed

The path exists but not for this method. The Allow header lists the methods that work.

409Conflict

The request conflicts with the current state.

412Precondition Failed

An If-Match header did not match the resource's current ETag.

413Payload Too Large

The body or a field is over its limit.

429Too Many Requests

A request limit was reached.

500Internal Server Error

The server failed to handle the request.

503Service Unavailable

The limit check or a dependency is unavailable.

Error codes

Each code has a fixed HTTP status. The last column says whether sending the same request again can work.

validation_error

HTTP 400

The body, a query parameter, or an ID is malformed or fails validation. The detail names the field.

Retry: No. Fix the request.

unsupported_api_version

HTTP 400

The X-Project-Feed-Api-Version header names a version the API does not serve. The error lists supportedVersions.

Retry: No. Send a supported version or omit the header.

invalid_cursor

HTTP 400

A cursor no longer matches how the list is read, for example after the server changed how it reads the list between pages. The detail asks you to restart.

Retry: Yes, from the first page without the cursor.

workspace_required

HTTP 400

A personal API token called a workspace route without the X-Project-Feed-Workspace header.

Retry: No. Send the header with the workspace slug.

authentication_required

HTTP 401

The API key or token is missing, invalid, expired, or revoked, or a signed request failed verification. A rejected API key or token also gets a WWW-Authenticate header.

Retry: No. Replace the credential.

token_not_active

HTTP 401

The API key has a start time that has not arrived yet.

Retry: After the key's start time.

permission_denied

HTTP 403

The key lacks the scope, the key owner's role does not allow the action, or the resource is not visible to the caller. A missing scope adds requiredScopes to the body and a WWW-Authenticate header with error="insufficient_scope".

Retry: No. Change the scope, role, or access first.

plan_required

HTTP 403

The action needs a higher plan, or a plan limit is used up. Free workspace API keys can only read projects, posts, comments, reactions, and tasks.

Retry: No. Change the plan or the request.

feature_disabled

HTTP 403

The Chat API is called for a workspace where Chat is not enabled.

Retry: No. Enable Chat in the workspace first.

token_age_exceeded

HTTP 403

The key is older than the maximum key age set in the workspace security settings.

Retry: No. Rotate the key.

token_ip_denied

HTTP 403

A personal API token has an IP policy and the caller's address is outside it, or could not be determined.

Retry: No. Call from an allowed address.

ip_policy_denied

HTTP 403

A personal API token called a workspace whose IP allowlist does not include the caller's address.

Retry: No. Call from an allowed address.

workspace_access_denied

HTTP 403

The personal API token is not authorized for the requested workspace, or the workspace policy denies it.

Retry: No. Change the token's workspace access.

workspace_approval_required

HTTP 403

The workspace requires an administrator to approve the personal API token first.

Retry: After an administrator approves it.

token_review_required

HTTP 403

The personal API token predates workspace access and must be reviewed and rolled before it can be used with workspaces.

Retry: No. Roll the token.

session_required

HTTP 403

The route manages sign-in security and takes only a session token from the Project Feed app, not an API key.

Retry: No. Call it from a signed-in app session.

step_up_required

HTTP 403

The change needs a fresh emailed code. The step-up token is missing, expired, already used, or for another action, target, or session.

Retry: After confirming a new code with POST /api/v1/me/step-up.

not_found

HTTP 404

The resource does not exist, belongs to another workspace, or is not visible to the caller. Requests that send API version 2026-10-14 also get 404 for a resource in a private project the caller cannot open. An unknown path under /api/v1 returns 404 with this code.

Retry: No. Check the ID and workspace.

method_not_allowed

HTTP 405

The path exists but not for this HTTP method. The Allow header lists the methods that work.

Retry: No. Use an allowed method.

conflict

HTTP 409

The request conflicts with the current state, for example an archived parent, a retention policy or legal hold, a reached limit, or a replayed inbound webhook.

Retry: No. Resolve the conflict first.

idempotency_key_reused

HTTP 409

The Idempotency-Key header or idempotencyKey body field was already used for a different request.

Retry: Only with a new key.

idempotency_request_in_progress

HTTP 409

A request with the same idempotency key is still running. The key stays locked for up to 10 minutes. Retry-After says when to ask again.

Retry: Yes, with the same key after Retry-After.

precondition_failed

HTTP 412

The If-Match header, or the expectedUpdatedAt of a canvas item, does not match the resource as it is now, so the change was not applied.

Retry: Only after reading the resource again and sending its new ETag.

payload_too_large

HTTP 413

The request body or a field is over its size limit.

Retry: No. Send less data.

rate_limit_exceeded

HTTP 429

A request limit was reached. Every 429 sends Retry-After, and the reason member says which limit it was: api_key, account_owner, free_workspace_key, free_workspace_daily, media_upload, domain_verify, domain_dns_check, audit_export, edge_credential, edge_ip, operation, or chat_message. Quota limits also send RateLimit headers.

Retry: Yes, after Retry-After.

rate_limited

HTTP 429

The same condition as rate_limit_exceeded with reason operation, for example creating comments. Only requests on the default API version 2026-05-26 get this code. Requests that send 2026-10-14 get rate_limit_exceeded.

Retry: Yes, after Retry-After.

internal_error

HTTP 500

The server failed to handle the request. Lookup failures that depend on an outside service return 502 with this code.

Retry: Reads: yes, with backoff. Writes: check first.

rate_limit_unavailable

HTTP 503

The limit could not be checked. The request stopped before it ran. The response has Retry-After.

Retry: Yes, after Retry-After.

service_unavailable

HTTP 503

A service the request depends on is unavailable.

Retry: Yes, with backoff.

account_workspace_access_disabled

HTTP 503

Personal API token access to workspace routes is turned off.

Retry: No. Use a workspace API key.

The two 429 codes mean the same thing to a client. Treat both as retryable and wait for the Retry-After seconds before trying again. A 429 can also come from the edge before the request reaches the API, with the code rate_limit_exceeded and a reason of edge_credential or edge_ip. A 503 also carries Retry-After. Every 429 has a violated-policies member that names the exceeded limits. On API version 2026-10-14 its type is the registered quota-exceeded problem type. See rate limits.

Request body limits

A body over the limit returns 413. Limits depend on the route.

  • Task, tag, post comment, docs, docs space, and chat requests: 512 KiB.
  • Time entries: 16 KiB.
  • Inbound webhooks: 256 KiB.
  • File uploads have their own limits. See the Files API.

Decide whether to correct or retry

400, 413

Correct the request. Read code and detail, then validate the changed field locally.

401

Replace or repair the credential. Sending the same secret again will not restore access.

403

Confirm the workspace, scope, role, plan, and network policy. Retry only after one of them changes.

404

Confirm the resource ID and workspace. The API also returns 404 when a resource exists but is not visible to the caller.

409

Read the detail and resolve the conflict. Do not repeat the same request.

429, 503 with rate_limit_unavailable

Wait for Retry-After, add jitter, and cap the number of attempts. Lower concurrency if throttling continues.

500, 502, other 503

Retry reads with bounded backoff. Before retrying a write, check whether it completed, or resend the same idempotencyKey in the JSON body where the route supports it. See API conventions.

Log the method, path, status, error code, and request ID. Do not log credentials or sensitive request bodies. For repeated 5xx responses, check the status page and contact support with the request ID.

Image preview
100%