ProjectFlow Pre-launch

Errors

Errors always have the same shape. code is meant for your code, message for people.

On this page
  1. Error format
  2. Statuses and codes
  3. Plan limits
  4. Feedback ingest

Error format

Every error response contains success: false, an error object and the requestId. details carries extra fields such as retryAfter where useful.

React to code in your code, not to the text in message.

Error responseJSON
{
  "success": false,
  "error": {
    "code": "not_found",
    "message": "Project not found.",
    "status": 404
  },
  "requestId": "6f1c0a52-3f7d-4e0b-9a51-2c1f0b7e4d10"
}

Statuses and codes

StatusCodeMeaningWhat to do
400invalid_requestBody, parameter or cursor invalid.Fix the request, don't retry it.
401unauthorizedToken missing, invalid or revoked.Check the token.
403forbiddenScope, permission or role missing.Check the token's scopes.
404not_foundObject not found or not visible.Check the ID and access.
409conflictConflict, for example webhook limit reached.Check the state.
429rate_limitedToo many requests.Wait for Retry-After, see rate limits.
429daily_write_limitDaily write quota used up.Wait until the next day or change plan.
500internal_errorUnexpected error.Retry later, otherwise report it with the requestId.

Plan limits

When a request hits a limit of your plan, the API answers with 403 and a code of its own.

CodeMeaning
plan-api-read-onlyThe plan allows read access only.
plan-api-disabledAPI access is not available for this workspace.
plan-webhooksWebhooks are available from the Team plan.
plan-project-limitThe plan's project limit is reached.

Feedback ingest

The feedback endpoint is not part of the token model and answers errors with { error, message, details? }.

↑↓ to select, Enter to open, Esc to close