---
title: "Troubleshooting"
description: "Fixes for the common problems: missing tools, the card step, interrupted setup, an agent that can't pay."
url: https://app.visacli.sh/docs/troubleshooting
updated: 2026-11-19
---

# Troubleshooting

> Fixes for the common problems: missing tools, the card step, interrupted setup, an agent that can't pay.

Canonical: https://app.visacli.sh/docs/troubleshooting. Updated: 2026-11-19. Full index: /llms.txt.

## What the Console is telling you

The word next to your agent says where it is and what it needs.

| The agent's row says   | Its step says                                                       | What it means                                                                                    | What to do                                                        |
| ---------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- |
| **Verified with Visa** | Nothing                                                             | The agent's key is listed in Visa CLI's registry and registered in the Visa Agent Directory. Paying also needs your approval and money in the wallet | Nothing                                                           |
| **Verifying**          | **Verifying**                                                       | Visa CLI is listing the agent's key                                                              | Nothing. It happens on its own                                    |
| **Needs you**          | **Add your email**                                                  | Your card is accepted, and the listing needs a contact email                                     | Add one in **Settings**, then enter the six-digit code sent to it |
| **Needs you**          | **Finish connecting**                                               | The listing is waiting on your signature                                                         | Open the agent in **Agents** and finish its setup                 |
| **Needs reconnecting** | “Visa reset its verification. It can't pay until you reconnect it.” | Visa reset the agent's key                                                                       | Reconnect the agent                                               |

## Approve is refused

Your account has no accepted card yet. Approving is refused until it does. [Your Visa card](/docs/your-visa-card.md) covers adding one, and what each card message means.

## My agent isn't listed

A lookup on the registry returns `404`, which looks the same whether the agent is unpublished, paused or revoked. Check that your account has a contact email, then check the agent's word in the Console, above.

## My agent asks for an access code

Only a release-candidate build asks for one, so this computer still has a release candidate from an earlier install. Install the normal release, `npm install -g @visa/cli@latest`, then `visa config target https://auth.visacli.sh`, and restart the agent's app.

## The Visa tools don't appear in my app

Restart the app, or reconnect its MCP server. Don't run setup again, because the agent is already connected.

In Hermes, type `/reload-mcp now`. Hermes adds Visa's tools without a restart.

In Claude Code, run this, select `visa-cli` and reconnect:

```text
/mcp
```

## Setup was interrupted

Repeat the command you ran, with the same app and setup key. For example:

```bash
visa connect codex
```

It resumes the same setup with the same link. If you leave the app name out, the command can default to Claude Code.

## My agent says it can't pay

Open the Console. Your agent tells you the step, once:

- **A payment is waiting:** approve it from its link.
- **Over a limit:** raise the limit in **Agents**, or try a smaller amount.
- **No money:** add money on the **Wallet** page by sending OUSD to its address.
- **Paused:** resume the agent in **Agents**.

## A payment's result went missing

Don't pay again. Check the payment in **Activity**. Your agent can continue the same purchase instead of starting a new one.

## “This Visa CLI is older than the server accepts”

Update Visa CLI, then restart your app:

```bash
visa update
```

In Hermes, run `hermes gateway restart --detach` instead. Hermes keeps the old Visa in its background gateway, which keeps running after you exit Hermes.

## “No desktop keyring is available on this computer”

The computer has no key store, as on a server. The error prints the command to run instead, which keeps the key in an owner-only file.

## A new computer, a lost computer, or a key this computer can't read

Remove the agent in the Console (**Agents**, then **Remove**). Removing it ends its keys at once, so a lost computer can no longer act as it. Then run `visa connect` on the computer the agent should use, and approve the new agent. Its spending limit starts fresh.

When Visa CLI says it could not read an agent's key, or that the key is not on this computer, it names the agent and links its page in the Console. A locked keychain is different: unlock it, then retry.

Only when the Console shows **Reconnect** for the agent does it keep its limits: press it, then run this on the new computer.

```bash
visa connect --setup <key>
```

## Sign-in is refused

Access is limited to approved accounts. Follow the Console's message.

## When a call is refused

This section is for whoever runs the agent or builds the app.

### A setup that doesn't show a link

Before showing an approval link, `connect` and `status` check what's saved for that setup.

| What's saved           | What happens                                                        |
| ---------------------- | ------------------------------------------------------------------- |
| Expired                | No old link is shown, and a plain `visa connect` starts a new setup |
| Declined               | No old link is shown                                                |
| Approved               | The setup is finishing                                              |
| Unknown or unavailable | The same setup is kept so you can recover it                        |

`status` only reports a setup. It never claims one.

### A setup key that's refused

A mistyped, used or expired setup key (`visa connect --setup <key>`) is refused with `not_found` (`detail` `setup_key`) or `expired` (`detail` `setup`). Only the owner can make a new one: they copy a new setup command from **Add agent** in the Visa Console, and the agent runs the new command.

### An approval that expired

When the owner's approval expires unanswered, nothing is paid or signed. As with a decline, the answer tells the agent to tell the owner, and a new request starts only if the owner still wants it.

### Read the refusal

A local MCP refusal is JSON. Branch on `code`. `detail` describes the check, `fix` gives the remedy, `turn` says who acts next, and `next` gives the action. Moving a refused request to another agent or payment rail isn't how it's resolved: the remedy is in `fix`.

### A blocked recipient

Wallet payees and withdrawal addresses are screened before anything is signed. A refusal with `detail` `policy_screening_blocked` means the recipient is blocked by payment screening. Retrying, or switching to another agent or payment method, doesn't change that, so the app tells the owner instead.

### Every refusal code

| `code`                      | What it means                                                              | What happens next                                                                                                                                                                                                                                                                                                          |
| --------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `update_required`           | This Visa CLI is older than the server accepts.                            | The owner updates it with `visa update` and restarts the agent session. Then the same request can go again.                                                                                                                                                                                                                |
| `setup_required`            | This agent isn't connected, signed in or set up here.                      | `visa connect` in a shell, or the `connect` tool over MCP, starts or resumes setup, and the owner finishes the browser step. Both resume where they left off. Then the original request can go again.                                                                                                                      |
| `owner_approval_required`   | The owner must approve this first.                                         | The owner opens the approval link in the answer's `owner.url`. Then the same request goes again with the same identifiers, unchanged, rather than as a new one.                                                                                                                                                            |
| `owner_declined`            | The owner declined this.                                                   | The request ends and isn't retried automatically. A new request, which asks the owner again, starts only if the owner asks for it.                                                                                                                                                                                         |
| `agent_inactive`            | This agent can't act: it's paused, revoked or its keys were replaced.      | A retry gets the same answer. In the Visa Console, the owner resumes a paused agent or connects a new one.                                                                                                                                                                                                                 |
| `grant_required`            | This agent has no current spending approval.                               | Nothing was charged. The owner reconnects this agent from the Visa Console (**Reconnect** on the agent). Then the same payment can go once more.                                                                                                                                                                           |
| `limit_reached`             | This payment is over a spending limit.                                     | Nothing was charged. A smaller amount or a later try can pass, or the owner can raise the limit. Repeating it, or moving it to another agent or payment method, isn't a way around the limit.                                                                                                                              |
| `wallet_funds_insufficient` | The wallet doesn't hold enough for this payment.                           | Nothing was charged. The owner adds funds on the **Wallet** page of the Visa Console. Then the same payment can go once more. Raising a limit doesn't help, and moving it to another agent or payment method isn't a way around it.                                                                                        |
| `over_max`                  | This charge costs more than the `max` the agent set.                       | Nothing was charged. The answer names the price beside the `max`; the network fee comes on top, from the owner's wallet. The agent checks the price with its human and calls again with a higher `max` only if they agree; it never raises `max` on its own. It isn't a spending limit, so the owner has nothing to raise. |
| `blocked`                   | Visa refused this request.                                                 | The owner is told what was refused. It isn't retried, and moving it to another agent, payment method or merchant isn't a way around the refusal.                                                                                                                                                                           |
| `merchant_unsupported`      | This merchant can't be paid this way.                                      | Nothing was charged. The same request unchanged gets the same answer. A merchant that supports this payment can be paid instead, or the owner is told.                                                                                                                                                                     |
| `invalid_request`           | Some details in this request weren't valid.                                | A corrected request can go again. An earlier purchase is checked by its original reference.                                                                                                                                                                                                                                |
| `not_found`                 | Visa couldn't find that for this agent.                                    | The reference or the selected agent is usually wrong. A read that found nothing isn't a sign the original is gone, so it's no reason to create a replacement.                                                                                                                                                              |
| `expired`                   | That request expired before it was completed.                              | The original request's outcome is checked first. Then a fresh request can start.                                                                                                                                                                                                                                           |
| `conflict`                  | An existing request conflicts with this one.                               | The original request is checked by its reference. If it's still in progress, the same request goes again after a wait, rather than a replacement.                                                                                                                                                                          |
| `outcome_unknown`           | The result of this request isn't known yet.                                | Repeating the same call with the same `idempotency_key` continues the same purchase, so a new one isn't needed.                                                                                                                                                                                                                    |
| `unavailable`               | Visa, or a service it depends on, didn't answer.                           | Whether the original request went through is checked before any other payment, and the request goes again later. Switching agents or payment methods isn't part of the recovery.                                                                                                                                           |
| `not_enabled`               | This feature isn't available right now.                                    | Visa has turned this off for now. Nothing was charged, and it can be tried again later. Signing in again won't turn it on.                                                                                                                                                                                                 |
| `local_keystore`            | This computer's key store couldn't be used, so nothing was signed or sent. | The owner fixes the key store on this computer: unlock it, restore access or sync the clock. Then the request can go once more.                                                                                                                                                                                            |
| `rate_limited`              | Too many requests from this caller right now.                              | `Retry-After` (also in `retry_after_seconds`) says when the same request, with the same identifiers, can go again. Switching agents doesn't get around it.                                                                                                                                                                 |
| `internal_error`            | Visa couldn't complete this request.                                       | For a payment, its status, read with the same `idempotency_key`, says what comes next. Otherwise the same call can go once more. If that fails too, it goes to a person, with the request reference.                                                                                                                       |

### Details worth knowing

Some refusals are best read by their `detail`:

| `detail`                   | What it means                                                                                    | What to do                                                                                                       |
| -------------------------- | ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- |
| `agent_clock_skew`         | This computer's clock is wrong, so nothing was signed or sent                                    | Fix the clock, or let it update automatically, then retry the same request. Reconnecting doesn't help            |
| `no_ousd_charge`           | The merchant offers no Tempo charge in OUSD that Visa can pay, such as one that only takes cards | Nothing was paid. Pick a service that takes OUSD on Tempo. See [Pay with MPP](/docs/pay-with-mpp.md#what-visa-pays) |
| `async_result`             | The merchant answers with a job to collect later, which Visa can't collect yet                   | Nothing was paid. Use a service that answers with the result                                                     |
| `task_tap_requires_device` | The task needs a verified worker, and this connection can't sign as one                          | Take it from Visa CLI on your computer, or from a hosted connection such as Grok Bot                             |

In words: `grant_required`, `limit_reached`, `wallet_funds_insufficient`, `over_max`, `merchant_unsupported` and `not_enabled` mean nothing was charged. For `outcome_unknown`, `conflict` and `internal_error`, the original request is checked by its reference before anything else, and `owner_declined` and `blocked` are never retried automatically.
