Vault troubleshooting

Each error code of the Laze vault, what it means and what to do next.

Each error of the vault has a code. Find yours and what to do next. The CLI prints the code with its message, and agents get it as the answer to a use.

A use was refused

CodeWhat it meansWhat to do
vault_connection_not_foundNo key by this name that the caller may use. The answer is the same for a key that does not exist and one it may not useCheck the spelling with laze vault list. Share the key with the agent, or ask with laze vault request-key
vault_human_onlyThe key is Human onlyUse it yourself, or lower the key on the Vault page
vault_agent_offThe agent's own rule on this key is OffChange its rule in the key's Share dialog
vault_not_reachableThe agent cannot use this key for this personAsk the owner to share it
vault_requester_cannot_see_channelThe person who asked is not in the channelAsk from a channel they are in
vault_no_approverThe key asks, and has no one to answerPick Approvers in the key's panel
vault_shared_no_valueA shared key below Allow cannot be read as a valueUse it through a command, or ask its owner
vault_real_value_refusedThe command would expose the keyDrop --real-value, or run a command that does not print, copy or send the key
vault_draft_requiredSending outside the company needs a personWrite a draft; a person sends it
vault_turn_refusedThe turn has ended, or the token is not this agent'sRun the command inside a turn
connection_not_grantedThe app has no share of this keyShare the key with the app

A connected account

CodeWhat it meansWhat to do
vault_connection_needs_reconnectThe service ended the sign-inClick Reconnect needed and sign in again
vault_oauth_scope_missingThe sign-in does not include what the tool needsConnect again and allow the permission
vault_connection_waiting_approvalA new server waits for an adminAsk an admin to approve it
connector_blockedYour admin turned this service offAsk an admin
vault_aws_refusedAWS STS refused, with its own messageCheck the key, the role and its trust policy

Waiting for a person

CodeWhat it meansWhat to do
vault_approval_pendingA card is openAnswer it, or run the same command again with a longer --wait
vault_approval_unreachedThe card could not be deliveredRun the command again
vault_approval_already_answeredAnother approver answered firstNothing. The first answer counts
vault_not_an_approverYou are not one of the key's approversAsk the owner or an approver
vault_lease_above_maximumThe lease is longer than the key allowsPick a shorter one
vault_lease_not_offeredThis request can only be allowed once or deniedUse Allow once
vault_device_approval_neededThe key asks for a deviceApprove with Touch ID, a passkey or Face ID
agent_turn_ambiguousThe agent is answering in several conversationsAdd --channel <id>

Sites and placeholders

CodeWhat it meansWhat to do
vault_host_deniedA person did not allow this siteUse the key's own site, or ask them to add this one
vault_too_many_waitingEight requests of this agent already waitAnswer the open cards
vault_turn_missingA placeholder was used outside a turnRun it again inside a turn
vault_no_grantThe agent has no placeholder for this key nowRun laze vault run for it again
egress_placeholder_in_binary_bodyThe placeholder is inside binary or compressed dataSend text, or use --real-value
egress_length_mismatchThe request states a length that does not match its bodyLet the client compute the length
vault_egress_host_invalidNot a site nameWrite it like api.example.com

Levels and limits

CodeWhat it meansWhat to do
vault_lower_refusedLevels are lowered on the Vault page onlyOpen the key in Settings, Vault
vault_level_above_limitYour admin limits this kind of keyPick a stricter level
vault_agent_rule_unavailableThis rule does not apply to this keyPick another rule. A sealed or Human only key has no Always allow
vault_share_protectedAlways ask and Human only keys are shared from the Vault pageShare it there
vault_grant_not_allowedThis keychain is not shared this wayA personal key is shared or lent, a workspace key is granted
vault_not_keychain_managerYou do not manage this keychainAsk its owner or an admin
vault_agent_key_refusedAn agent's key cannot do thisRun it as yourself
vault_connection_name_takenThe keychain already has this namePick another, or replace that key's value
vault_offer_name_takenYour keychain already has the offered nameThe agent picks another name
vault_compare_rate_limitedToo many comparisonsWait five minutes
vault_audit_refusedOnly admins read the audit logUse Activity for your own keys

Passkeys and sealed keys

CodeWhat it meansWhat to do
vault_needs_passkeyThis takes a passkey or Face IDAdd one in Settings, Vault, Passkeys
vault_no_deviceYou have no active deviceAdd one, and approve it from another if you have one
vault_sealedThe key is sealed to its owner's devicesIts owner approves on a device
vault_sealed_needs_deviceThe answer must come from a deviceAnswer on a device that holds the key
vault_sealed_run_onlyA sealed key is used through laze vault runUse that command
vault_seal_not_supportedThis kind of key is not sealedTurn on Approve on a device instead
vault_device_approval_refusedThe new device was not approved by an active oneApprove it from an active device, and compare the fingerprints
vault_device_recovery_refusedThe password or the code was not rightAsk for a new code
vault_device_remove_needs_proofRemoving the last device needs proofConfirm with that device, or use Lost this device?
vault_reauth_requiredConfirm it is you before a revealUse your password or a device

The vault is locked

CodeWhat it meansWhat to do
vault_reads_lockedOne of your CLI keys read too fast and was revokedClick Unlock with passkey on the Vault page, then run laze login again
vault_lockedToo many keys were opened, and the vault stopped opening anyA person at Laze resets it. Keys stay stored
vault_unavailableThe vault cannot open keys right nowTry again in a few minutes

Exit code 75 with "Laze is busy opening keys for this workspace" clears after a minute.

A placeholder reached a service

If a service answers that the key is wrong, and the key starts like yours, it may have received the placeholder. That happens when a tool uses the key itself, as request signing does, or stores it for later. Run that command with --real-value, or turn on Used on the computer only for the key.

A tool does not trust Laze's certificate

Requests from a Laze computer pass Laze's network, which uses Laze's own certificate. Common tools on the computer trust it already. A tool that brings its own list of certificates, or pins the service's, refuses the connection. Run it with laze vault run <key> --real-value.

Also check: Vault CLI, Troubleshooting.