plan_feature_unavailable
The plan of the workspace does not have this feature. Upgrade the plan to use it.
HTTP status: 403. Error type: permission_error.
The plan of the workspace does not have this feature. Upgrade the plan to use it.
Example
{
"error": {
"type": "permission_error",
"code": "plan_feature_unavailable",
"message": "The starter plan does not have log drains. Upgrade to the business plan to use them.",
"doc_url": "https://docs.afffast.com/errors/plan-feature-unavailable",
"request_id": "req_3kQ9x7WmZpL2vNd8TfYb4A"
}
}Causes
- The request uses a live key, and the plan of the workspace does not include the feature. Only the Business plan has log drains.
POST /v1/log_drainsreturns this code for a workspace that is not on the Business plan.PATCH /v1/log_drains/{id}andPOST /v1/log_drains/{id}/resumereturn it for the same reason.POST /v1/connections,POST /v1/connections/oauthandPOST /v1/connections/{id}/syncwithkindbackfillreturn it when the start day of the history (history_fromorfrom) is before the history of the plan. The message names the plan that reaches back so far, for example: "The Starter plan can read 3 months of history. The earliest start is 2026-09-10. Upgrade to the Pro plan to start at 2025-12-10."
How to fix
- Upgrade the plan in the dashboard. See Plans and billing. For a history error, choose a later start day, or upgrade to the plan in the message.
- Test mode has no plan limits. Use a test key to try the feature first.
- A workspace that leaves the Business plan keeps its log drains. They are paused with the reason
plan_downgraded. Upgrade the plan, then resume them.