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.
{
"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.
{
"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.
{
"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"
}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
200OKThe request succeeded. Most reads, updates, and deletes.
201CreatedA new resource was created. Inbound webhook routes return 201 for a new item and 200 for an update.
204No ContentDeleting 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 RequestThe request is invalid.
401UnauthorizedThe credential is missing, invalid, or not active.
403ForbiddenThe credential is valid but not allowed.
404Not FoundThe resource or path does not exist.
405Method Not AllowedThe path exists but not for this method. The Allow header lists the methods that work.
409ConflictThe request conflicts with the current state.
412Precondition FailedAn If-Match header did not match the resource's current ETag.
413Payload Too LargeThe body or a field is over its limit.
429Too Many RequestsA request limit was reached.
500Internal Server ErrorThe server failed to handle the request.
503Service UnavailableThe 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_ errorHTTP 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_ versionHTTP 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_ cursorHTTP 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_ requiredHTTP 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_ requiredHTTP 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_ activeHTTP 401
The API key has a start time that has not arrived yet.
Retry: After the key's start time.
permission_ deniedHTTP 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_ requiredHTTP 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_ disabledHTTP 403
The Chat API is called for a workspace where Chat is not enabled.
Retry: No. Enable Chat in the workspace first.
token_ age_ exceededHTTP 403
The key is older than the maximum key age set in the workspace security settings.
Retry: No. Rotate the key.
token_ ip_ deniedHTTP 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_ deniedHTTP 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_ deniedHTTP 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_ requiredHTTP 403
The workspace requires an administrator to approve the personal API token first.
Retry: After an administrator approves it.
token_ review_ requiredHTTP 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_ requiredHTTP 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_ requiredHTTP 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_ foundHTTP 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_ allowedHTTP 405
The path exists but not for this HTTP method. The Allow header lists the methods that work.
Retry: No. Use an allowed method.
conflictHTTP 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_ reusedHTTP 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_ progressHTTP 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_ failedHTTP 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_ largeHTTP 413
The request body or a field is over its size limit.
Retry: No. Send less data.
rate_ limit_ exceededHTTP 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_ limitedHTTP 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_ errorHTTP 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.
account_ workspace_ access_ disabledHTTP 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, 413Correct the request. Read code and detail, then validate the changed field locally.
401Replace or repair the credential. Sending the same secret again will not restore access.
403Confirm the workspace, scope, role, plan, and network policy. Retry only after one of them changes.
404Confirm the resource ID and workspace. The API also returns 404 when a resource exists but is not visible to the caller.
409Read the detail and resolve the conflict. Do not repeat the same request.
429, 503 with rate_limit_unavailableWait for Retry-After, add jitter, and cap the number of attempts. Lower concurrency if throttling continues.
500, 502, other 503Retry 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.