Error codes
FEATURE_NOT_AVAILABLE
This feature is not switched on for you or your Organization.
Exit code: 6 · Who acts: You or another person, after you read the current state, or by waiting · From: the CLI, the SDK and the backend
What it means
This feature is not switched on for you or your Organization.
Common causes
- The feature is in preview and not open to everyone in this environment.
Fix it
- Ask Capxul to switch it on for your Organization.
In JSON and the SDK
With --json, the CLI prints:
{
"outcome": "refused",
"error": {
"code": "FEATURE_NOT_AVAILABLE",
"message": "…"
}
}In the SDK, a failed result has result.error.code === "FEATURE_NOT_AVAILABLE". Branch on the code, not on the message: the message is written for people and can change.