Feature not in plan

What the PlanFeatureRequired error (402 Payment Required) means, the fields it carries, and the endpoints that return it.

The API answers 402 Payment Required with this problem. Its type is https://lingo.dev/docs/api/errors/plan-feature-required. See Errors and status codes for the shape every error shares.

The plan of organization <organizationId> does not include rebac. Choose a plan that includes it on the billing page: https://lingo.dev/orgs/<organizationId>/settings/billing

Fields #

Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.

FieldType
organizationIdstring
features("rebac" | "audit_logs" | "reports" | "human_review" | "internal_review" | "builtin_ai_reviewers" | "pre_edit" | "rephrase" | "back_translation" | "content_length" | "localization_jobs" | "github_integration" | "jira_integration" | "payload_integration" | "zendesk_integration" | "blend_integration" | "wordpress_integration" | "byok" | "sso")[]

Example #

json
{
  "detail": "The plan of organization <organizationId> does not include rebac. Choose a plan that includes it on the billing page: https://lingo.dev/orgs/<organizationId>/settings/billing",
  "organizationId": "<organizationId>",
  "features": [
    "rebac"
  ],
  "type": "https://lingo.dev/docs/api/errors/plan-feature-required",
  "status": 402,
  "title": "Feature not in plan"
}

Returned by #

  • DELETE /v2/reports/{id}
  • GET /v2/organizations/{orgId}/analytics/models
  • GET /v2/organizations/{orgId}/audit-events
  • GET /v2/organizations/{orgId}/audit-events/{eventId}
  • GET /v2/organizations/{orgId}/reports
  • GET /v2/reports/{id}
  • PATCH /v2/engines/{id}
  • PATCH /v2/organizations/{orgId}/decision-pools/{id}
  • PATCH /v2/organizations/{orgId}/provider-keys/{provider}
  • PATCH /v2/organizations/{orgId}/sso
  • PATCH /v2/reports/{id}
  • POST /v2/localization/jobs/{id}/start
  • POST /v2/organizations/{orgId}/analytics/event-properties
  • POST /v2/organizations/{orgId}/analytics/event-property-keys
  • POST /v2/organizations/{orgId}/analytics/events
  • POST /v2/organizations/{orgId}/analytics/events-by-property
  • POST /v2/organizations/{orgId}/analytics/measurement-answers
  • POST /v2/organizations/{orgId}/analytics/measurement-answers-by-property
  • POST /v2/organizations/{orgId}/analytics/measurement-fields
  • POST /v2/organizations/{orgId}/analytics/measurement-scores
  • POST /v2/organizations/{orgId}/decision-pools/connection
  • POST /v2/organizations/{orgId}/decision-pools/external
  • POST /v2/organizations/{orgId}/decision-pools/internal
  • POST /v2/organizations/{orgId}/engines
  • POST /v2/organizations/{orgId}/localization/estimates
  • POST /v2/organizations/{orgId}/provisioning/jobs
  • POST /v2/organizations/{orgId}/reports
  • POST /v2/organizations/{orgId}/service-api-keys/scim
  • PUT /v2/organizations/{orgId}/provider-keys/{provider}
  • PUT /v2/organizations/{orgId}/sso