Troubleshooting
Common problems and how to fix them.
Only the wallet's owner can approve. If you're looking at the public demo wallet while connected with your own account, the dashboard says who the owner is. Deploy your own wallet (see the Quickstart) and use that.
The key isn't registered on the wallet you passed. Check KW_WALLET_ADDRESS is the C… wallet where you registered the agent, and that you pasted the G… key from the same .env.agent the agent is using. keygen overwrites its file, so running it twice gives a new key.
It's waiting on a hold. Open Approvals in the dashboard. Use onHoldCreated to be told when this happens and maxHoldWaitMs to cap the wait.
Open holds count against the budget until they settle, are denied or expire. Check reservedHoldsStroops in kw.getSummary(). Days are UTC, so the reset may not be at your midnight.
Your owner account needs a USDC trustline (issuer GBBD47IF…LFLA5) and Testnet USDC from the Circle faucet, plus some XLM from Friendbot for fees.
The seller's address needs a USDC trustline. Also check their facilitator allows a high enough fee: custom-account payments need more than the common 50,000-stroop ceiling.
Public Soroban RPC keeps events for about 7 days. The indexer stores what it saw, but if a wallet wasn't tracked within that window, those older events can't be fetched. Balances and policies are always read live, so they're unaffected.
A network or relayer problem, a malformed 402, or an asset other than USDC. Check GET https://pay.kryptwarden.xyz/health, then retry with backoff.
Still stuck?
Open an issue on GitHub with the wallet address, the agent's public key and err.requestId. Never include a secret key.