ReferenceErrors
VAULT
Vault storage, encryption, or lookup failed.
What it means
VaultError (code: VAULT). The vault adapter failed (corrupt record, collision, missing key material, KV errors).
Message shape
<reason> → https://tailrace.dev/docs/reference/errors/VAULTCommon causes
- Corrupt or truncated ciphertext in storage.
- Token collision for the same workflow key.
- Misconfigured vault key / KV binding.
Fixes
- Ensure a stable vault key (
TAILRACE_VAULT_KEYor config) across the workflow lifetime. - Purge or rotate workflow vault entries if records are corrupt.
- Check KV permissions and key encoding (hex / string as documented).
Safe to catch?
At egress you may surface a user-visible failure. Prefer fail closed over returning a tokenized value as if it were restored.