Skip to content

Errors

Every Management API error returns the same JSON envelope. The error field is a stable, machine-readable code; docs_url links to the page for that code.

{
"error": "not_found",
"message": "Project 'checkout' was not found.",
"docs_url": "https://featureflip.io/docs/management-api/errors/not_found"
}

See Conventions → Errors for every envelope field.

CodeHTTPMeaning
bad_request400Malformed or unprocessable request
validation_failed400One or more fields failed validation
unauthorized401Missing, invalid, expired, or revoked token
forbidden403Token’s role is insufficient
sso_required403The organization requires single sign-on and the token didn’t come through it
two_factor_required403The organization requires two-factor authentication and the token’s owner hasn’t turned it on
token_lifetime_exceeds_policy403The organization refuses personal access tokens that last longer than its limit, and this one does
plan_limit_reached403A create or restore would take the organization past one of its plan’s caps, or the request acts on a webhook subscription a downgrade left over one
organization_read_only403The organization is over its plan’s limits after a downgrade and is read-only until it fits
not_found404Resource doesn’t exist or isn’t visible
method_not_allowed405HTTP method not supported on this path
conflict409Another request changed or created the same resource first
idempotency_key_in_progress409A same-key create is still in flight
idempotency_key_reuse409The same key was used with a different request body
precondition_failed412The resource changed since the If-Match ETag you sent
unsupported_media_type415Content-Type was not application/json
change_reason_required422The change touches a critical environment that requires a reason, and the request sent none
rate_limited429Rate limit exceeded
internal_error500Unexpected server error