Troubleshooting Secret Manager
Find the message you see in the section for where you saw it: an application or the CLI (the Vault API at your workspace’s address), the IBEE API (api.ibee.ai), or the portal. Vault API errors look like {"errors":["…"]}; IBEE API errors look like {"error":"…","message":"…"}.
Applications, the CLI and External Secrets (Vault API)
| You see | What it means | What to do |
|---|---|---|
404 with an empty body | The request has no X-Vault-Namespace header, or uses a path that isn’t available (such as sys/… or the web UI) | Set VAULT_NAMESPACE (or the header). Use only the available paths. |
404 namespace not found | The namespace doesn’t exist, or has a typo | Copy it from Secret Manager → Connect |
404 with "errors":[] on a read | No secret at that path, or the wrong store (secret vs ibee-managed) | Check the path and -mount |
404 on a read, with deletion_time set in the metadata | The version you read (the latest, by default) is deleted | Undelete it, or save a new version |
403 permission denied right after it worked | The token expired (60 seconds for a CLI session; 1 hour, renewable to 24 hours, for an app) | Sign in again, or renew sooner |
403 permission denied on one path | The app credential’s folder doesn’t include it, it’s in ibee-managed/ and the credential has a folder, or the credential is read only and you wrote | Use a credential with the right folder and access |
403 permission denied on destroy or metadata delete from an app | App credentials can’t destroy versions or delete secrets | Do it in the portal or with the IBEE API |
403 on every write, reads still work | The workspace is read-only (restricted) | See Workspace states |
403 on every read | The workspace is suspended | See Workspace states |
403 on login, from bao agent | The namespace is set only in the agent’s vault {} block, so the login goes to the root namespace | Put namespace inside method "approle" |
400 on auth/approle/login about the role or secret ID | The Secret ID was replaced or the credential revoked, or a value was copied wrongly | Issue a new Secret ID and update the app |
400 check-and-set parameter did not match the current version | Someone saved a newer version first | Read again and retry with the current version |
400 check-and-set parameter required for this call | The secret has Require check-and-set on | Send cas (-cas=N in the CLI, options.cas over HTTP) |
413 or a refused write for size | The request is over 64 KiB | Keep secrets under 48 KiB; store files in Object Storage |
429 | A rate limit: reads 100/s per namespace and IP, writes and listing 10/s per namespace, logins 5/s per IP | Wait at least a second and retry; cache reads; raise External Secrets’ refreshInterval |
503 OpenBao leader is changing; retry the request | A brief server handover | Retry after a moment |
A request over http:// gets 404 | Only HTTPS is served | Use https:// |
x509 or certificate errors | The address is wrong, or something on your network is intercepting TLS | Use the address from Connect. Its certificate is publicly trusted, so no CA file is needed. |
IBEE API
error | Status | What it means | What to do |
|---|---|---|---|
insufficient_scope | 403 | The token lacks secret-manager.read or secret-manager.write (required_scope says which) | Create a token with Secret Manager → Read or Edit |
access_denied, or another 403 | 403 | The token owner’s workspace role doesn’t allow it | Use a token owned by someone with the right role |
verification_required | 403 | Identity verification isn’t complete | Complete verification |
billing_denied | 402 | Billing refused the enable; billing_reason says why | Add credits or resolve the billing issue, then enable again |
billing_unavailable | 503 | Billing couldn’t be checked; nothing was charged | Try again in a few minutes |
workspace_not_enabled | 404 | Secret Manager isn’t enabled in this workspace | Enable it |
workspace_pending | 409 | Setup is in progress | Poll the operation |
lifecycle_pending | 409 | A workspace change is being applied | Retry shortly |
workspace_restricted | 403 | The workspace is read-only | You can read and clean up only |
workspace_suspended | 403 | The workspace is suspended | Values can’t be read |
already_enabled | 409 | Secret Manager is already on | Read GET /secret-manager/workspace |
namespace_taken | 409 | Another workspace has the namespace | Choose another |
namespace_locked | 409 | An earlier attempt may have reserved a different name | Retry with the original namespace |
namespace_invalid | 422 | The name breaks the rules | 3–32 lowercase letters, digits and single hyphens |
namespace_reserved | 422 | The name is reserved | Choose another |
secret_not_found, not_found | 404 | No secret or version at that path | Check the path and version |
version_conflict | 409 | The secret changed; reload and retry | Read the latest version, then retry |
secret_too_large | 413 | Over 48 KiB | Split the secret |
invalid_path | 422 | The path breaks the path rules | Fix the path |
invalid_metadata | 422 | Too many or too long metadata pairs, or a bad delete_version_after | See Limits |
invalid_version | 422 | Send 1–100 positive version numbers | Fix the versions list |
invalid_name | 422 | The app credential name breaks the rules | Letters, digits, ., _ and -, up to 64 |
invalid_cursor | 422 | The search cursor is stale | Start the search again |
app_credential_limit | 409 | The workspace has 50 app credentials | Revoke unused ones |
app_credential_name_taken | 409 | The name is in use | Choose another |
app_credential_pending | 409 | The credential is still being set up | Wait a few seconds |
app_credential_revoked | 409 | The credential is revoked | Create a new one |
app_credential_not_found, operation_not_found | 404 | Wrong ID, or another workspace’s | Check the ID and workspace_id |
idempotency_conflict | 409 | The Idempotency-Key was used for a different request | Use a new key |
invalid_request | 422 | A field is missing or out of range | Check the request against the API reference |
secret_manager_unavailable, secret_manager_timeout | 503, 504 | A temporary problem | Retry with backoff |
An enable that fails after 202 ends with status: failed and an error_code on the operation, for example billing_denied. Fix the cause and enable again with a new Idempotency-Key and the same namespace.
Portal
| You see | What it means | What to do |
|---|---|---|
| Enable Secret Manager greyed out | Prices haven’t loaded, the namespace isn’t available yet, or the versions number is invalid | Wait, or fix the field |
| ”Read-only access. Ask a workspace admin to enable it.” | You’re a Collaborator | Ask the Owner, an Admin or a Technical member |
| Complete KYC or Verify Identity on the button | Identity verification isn’t complete | Complete verification |
| Billing needs attention | Billing refused the enable | Click Add Credits, then enable again |
| Setup didn’t finish | Setup failed; the message says why | Follow it: Try again, Billing options or Choose another name |
| ”Hasn’t started yet…” | Setup hasn’t started after a few minutes | Contact support with the Reference for support |
| ”A secret with this name already exists…” | The path is taken | Open the existing secret, or choose another name |
| ”Leave out the environment: the workspace already is the environment” | The name starts with prod, dev, staging, test or similar | Remove that first folder |
| ”This secret is larger than 48 KiB…” | Too large | Split it, or keep the file in Object Storage |
| Someone else saved a newer version | Another save happened first | Click Load latest and try again |
| ”Values cannot be read while this workspace is suspended.” | The workspace is suspended | See Workspace states |
| Read-only or Suspended chip in the header | The workspace is restricted or suspended | See Workspace states |
| A new secret isn’t in search results | Search catches up within a minute | Open its folder |
| ”This workspace has the most app credentials” | 50 credentials exist | Revoke unused ones |
Still stuck
Contact support with the time, the workspace, the request ID (request_id from the IBEE API) or the portal’s Reference for support, and the exact message. Never send a token, Secret ID or secret value.
