unsnag pimlico 1.2.0 · 7bff655a7e58 dirty
· 32m 29s mock
known gaps of mock: usage and key activity have no 1-2 hour aggregation lag; month-to-date metered units behind balance are fixed values; no rate limiting
runs / rpc-errors-fixture-key/claude-code-anthropic-claude-opus-5.5/name-only/5 · ← prev next →

rpc-errors-fixture-key/claude-code-anthropic-claude-opus-5.5/name-only/5 · pass

Outcome
pass
1/1 Checks passed
Turns
5
model turns
CLI calls
5
0 exited non-zero
Help lookups
2
reads of the CLI's help
Tokens in
34789
29939 of them cached
Tokens out
1220
written by the model
Cost
$0.05
of the model calls
Wall time
19.4s
from start to the Checks
scenario
rpc-errors-fixture-key
agent
claude-code:anthropic/claude-opus-5.5 · 2.1.318
context
name-only
repeat
5 · cell ✓✓✓✓✓
findings
—
provider
Anthropic

checks

#checkresultdetailsignal
1
judge: Names the RPC methods that failed for the fixture-key key in the last 24 hours and the error code (or error) each failed with, matching the true answer; counts may be approximate, but no failing method may be missing or invented.
passthe Jury voted pass (unanimous: pass, pass, pass) · expected: {"eth_estimateUserOperationGas -32521 (client_error)":7,"eth_sendUserOperation -32500 (client_error)":4,"pm_sponsorUserOperation -32602 (client_error)":3,"eth_sendUserOperation -32603 (server_error)":2}
anthropic/claude-haiku-5.5: pass · openai/gpt-6-luna: pass · google/gemini-3.8-flash: pass

reproduce

unsnag run --scenario rpc-errors-fixture-key --agent claude-code:anthropic/claude-opus-5.5 --context name-only --runs 1

Transcript highlighted = a Signal fired

#actorcontentexitsignal
0user
You have the `pimlico` CLI available.

Which RPC calls through our fixture-key Pimlico API key failed in the last 24 hours, and with what errors?
1agent
$ pimlico --help 2>&1 | head -50
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 418 more characters]
2agent
$ pimlico requests --help 2>&1; pimlico keys list 2>&1
Usage: pimlico requests [options]

RPC request logs of your API keys, newest first, with the error code and message
of failed calls

Options:
  --key <name>        Only this API key, by name (see `pimlico keys list`);
                      every active key when omitted
  --chain <chainId>   Only this EVM chain
  --solana <cluster>  Only this Solana network instead of an EVM chain (choices:
                      "mainnet", "devnet")
  --method <name>     Only this RPC method (e.g. eth_sendUserOperation)
  --status <status>   Only successful or only failed requests (choices:
                      "success", "error")
  --last <window>     Only records from the last 24h, 7d or 30d (choices: "24h",
                      "7d", "30d", default: "24h")
  --bodies            Include the request and response bodies (JSON only)
  --limit <n>         Records per page, 1 to 100 (default: 50)
  --cursor <cursor>   Continue from a previous page's nextCursor
  --all               Walk every page until exhausted or --max; with --json
                      prints NDJSON
  --max <n>           Stop --all after this many records (default: 1000)
  --csv               Print CSV instead of a table
  -h, --help          display help for command
Name                Status  Boost  Last used   Req 30d  Ops 30d  Created
production-web      active  on     6 min ago     9,000    1,180  2026-04-10
mobile-app          active  off    5 min ago     5,200      700  2026-06-09
staging             active  off    2 h ago         840       76  2026-07-19
analytics-readonly  active  off    16 min ago    3,100        0  2026-08-18
fixture-key         active  off    26 min ago    2,422      380  2026-10-02
3agent
$ pimlico requests --key fixture-key --status error --last 24h --all 2>&1
Time                 Chain  Key          Method                        Status        HTTP  Credits  Error                                                         Trace
2026-11-16 21:16:46  84532  fixture-key  eth_sendUserOperation         client_error   400       50  -32500 AA25 invalid account nonce                             cad313d437db11b3d416ecff4fa2654e
2026-11-16 20:34:47  84532  fixture-key  eth_estimateUserOperationGas  client_error   400       25  -32521 ERC20: transfer amount exceeds balance                 5b4f6f62f532147d14fc2d163dcbb546
2026-11-16 16:56:10  84532  fixture-key  eth_sendUserOperation         server_error   500       50  -32603 Internal error                                         b86ce82c6db614bd3d3b6661587fb733
2026-11-16 16:13:12  84532  fixture-key  eth_estimateUserOperationGas  client_error   400       25  -32521 ERC20: transfer amount exceeds balance                 9a5473ea51a3a24668a3b2c98244edfa
2026-11-16 16:06:51  84532  fixture-key  pm_sponsorUserOperation       client_error   400       50  -32602 Invalid params: sponsorship policy sp_bitter_anthem i  2d13aa36a3d6f6d4df1a1495e6e38481
2026-11-16 15:32:32  84532  fixture-key  eth_sendUserOperation         server_error   500       50  -32603 Internal error                                         9a459eef575b5b6682dca3e8966a97a2
2026-11-16 14:42:42  84532  fixture-key  eth_estimateUserOperationGas  client_error   400       25  -32521 ERC20: transfer amount exceeds balance                 f35b6db781e293dc1fc00ba1da480bf6
2026-11-16 14:14:07  84532  fixture-key  eth_sendUserOperation         client_error   400       50  -32500 AA25 invalid account nonce                             9d04310e6216a23b276a783e535ebdd3
2026-11-16 12:06:07  84532  fixture-key  pm_sponsorUserOperation       client_error   400       50  -32602 Invalid params: sponsorship policy sp_bitter_anthem i  de59c8f05448ee69881c06395a59d78e
2026-11-16 11:46:32  84532  fixture-key  pm_sponsorUserOperation       client
[… 1308 more characters]
4agent
The policy message is truncated; get full text.
$ pimlico requests --key fixture-key --status error --last 24h --method pm_sponsorUserOperation --json 2>&1 | head -60
{
  "items": [
    {
      "createdAt": "2026-11-16T16:06:51.658Z",
      "chainId": 84532,
      "method": "pm_sponsorUserOperation",
      "status": "client_error",
      "httpCode": 400,
      "apiCredits": 50,
      "traceId": "2d13aa36a3d6f6d4df1a1495e6e38481",
      "key": "fixture-key",
      "error": {
        "code": -32602,
        "message": "Invalid params: sponsorship policy sp_bitter_anthem is not active"
      },
      "request": null,
      "response": null
    },
    {
      "createdAt": "2026-11-16T12:06:07.217Z",
      "chainId": 84532,
      "method": "pm_sponsorUserOperation",
      "status": "client_error",
      "httpCode": 400,
      "apiCredits": 50,
      "traceId": "de59c8f05448ee69881c06395a59d78e",
      "key": "fixture-key",
      "error": {
        "code": -32602,
        "message": "Invalid params: sponsorship policy sp_bitter_anthem is not active"
      },
      "request": null,
      "response": null
    },
    {
      "createdAt": "2026-11-16T11:46:32.651Z",
      "chainId": 84532,
      "method": "pm_sponsorUserOperation",
      "status": "client_error",
      "httpCode": 400,
      "apiCredits": 50,
      "traceId": "d2bc94c575fddc693f324576e639d6f9",
      "key": "fixture-key",
      "error": {
        "code": -32602,
        "message": "Invalid params: sponsorship policy sp_bitter_anthem is not active"
      },
      "request": null,
      "response": null
    }
  ],
  "nextCursor": null,
  "warnings": []
}
5agent
In the last 24 hours, 16 RPC calls through `fixture-key` failed. All were on Base Sepolia (chain 84532), and together they used 625 API credits. They fall into four error types:

| # | Method | Error | Times (UTC, 2026-11-16) |
|---|---|---|---|
| 7 | `eth_estimateUserOperationGas` | HTTP 400, `-32521 ERC20: transfer amount exceeds balance` | 00:53, 01:56, 08:10, 11:26, 14:42, 16:13, 20:34 |
| 4 | `eth_sendUserOperation` | HTTP 400, `-32500 AA25 invalid account nonce` | 06:31, 08:05, 14:14, 21:16 |
| 3 | `pm_sponsorUserOperation` | HTTP 400, `-32602 Invalid params: sponsorship policy sp_bitter_anthem is not active` | 11:46, 12:06, 16:06 |
| 2 | `eth_sendUserOperation` | HTTP 500, `-32603 Internal error` | 15:32, 16:56 |

What each one likely means:
- **ERC20 transfer exceeds balance:** a user operation tries to send more of a token than the sending account holds, so gas estimation reverts. This is a problem with the account's funds or the call data, not with Pimlico.
- **AA25 invalid nonce:** the operations were sent with a stale or reused nonce. Concurrent or retried sends from the same account are a common cause.
- **Inactive policy:** the client still points at sponsorship policy `sp_bitter_anthem`, which is turned off. Either switch it back on (`pimlico policies enable sp_bitter_anthem`) or point the client at an active policy.
- **Internal error (500):** these two came from Pimlico's side. If they matter, raise them with Pimlico support using the trace IDs `9a459eef575b5b6682dca3e8966a97a2` and `b86ce82c6db614bd3d3b6661587fb733`.

To pull trace IDs for the other failures, run `pimlico requests --key fixture-key --status error`.

Target CLI calls

#callexitmssignal
0
$ pimlico --help
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 904 more characters]
0142
1
$ pimlico requests --help
Usage: pimlico requests [options]

RPC request logs of your API keys, newest first, with the error code and message
of failed calls

Options:
  --key <name>        Only this API key, by name (see `pimlico keys list`);
                      every active key when omitted
  --chain <chainId>   Only this EVM chain
  --solana <cluster>  Only this Solana network instead of an EVM chain (choices:
                      "mainnet", "devnet")
  --method <name>     Only this RPC method (e.g. eth_sendUserOperation)
  --status <status>   Only successful or only failed requests (choices:
                      "success", "error")
  --last <window>     Only records from the last 24h, 7d or 30d (choices: "24h",
                      "7d", "30d", default: "24h")
  --bodies            Include the request and response bodies (JSON only)
  --limit <n>         Records per page, 1 to 100 (default: 50)
  --cursor <cursor>   Continue from a previous page's nextCursor
  --all               Walk every page until exhausted or --max; with --json
                      prints NDJSON
  --max <n>           Stop --all after this many records (default: 1000)
  --csv               Print CSV instead of a table
  -h, --help          display help for command
0138
2
$ pimlico keys list
Name                Status  Boost  Last used   Req 30d  Ops 30d  Created
production-web      active  on     6 min ago     9,000    1,180  2026-04-10
mobile-app          active  off    5 min ago     5,200      700  2026-06-09
staging             active  off    2 h ago         840       76  2026-07-19
analytics-readonly  active  off    16 min ago    3,100        0  2026-08-18
fixture-key         active  off    26 min ago    2,422      380  2026-10-02
0209
3
$ pimlico requests --key fixture-key --status error --last 24h --all
Time                 Chain  Key          Method                        Status        HTTP  Credits  Error                                                         Trace
2026-11-16 21:16:46  84532  fixture-key  eth_sendUserOperation         client_error   400       50  -32500 AA25 invalid account nonce                             cad313d437db11b3d416ecff4fa2654e
2026-11-16 20:34:47  84532  fixture-key  eth_estimateUserOperationGas  client_error   400       25  -32521 ERC20: transfer amount exceeds balance                 5b4f6f62f532147d14fc2d163dcbb546
2026-11-16 16:56:10  84532  fixture-key  eth_sendUserOperation         server_error   500       50  -32603 Internal error                                         b86ce82c6db614bd3d3b6661587fb733
2026-11-16 16:13:12  84532  fixture-key  eth_estimateUserOperationGas  client_error   400       25  -32521 ERC20: transfer amount exceeds balance                 9a5473ea51a3a24668a3b2c98244edfa
2026-11-16 16:06:51  84532  fixture-key  pm_sponsorUserOperation       client_error   400       50  -32602 Invalid params: sponsorship policy sp_bitter_anthem i  2d13aa36a3d6f6d4df1a1495e6e38481
2026-11-16 15:32:32  84532  fixture-key  eth_sendUserOperation         server_error   500       50  -32603 Internal error                                         9a459eef575b5b6682dca3e8966a97a2
2026-11-16 14:42:42  84532  fixture-key  eth_estimateUserOperationGas  client_error   400       25  -32521 ERC20: transfer amount exceeds balance                 f35b6db781e293dc1fc00ba1da480bf6
2026-11-16 14:14:07  84532  fixture-key  eth_sendUserOperation         client_error   400       50  -32500 AA25 invalid account nonce                             9d04310e6216a23b276a783e535ebdd3
2026-11-16 12:06:07  84532  fixture-key  pm_sponsorUserOperation       client_error   400       50  -32602 Invalid params: sponsorship policy sp_bitter_anthem i  de59c8f05448ee69881c06395a59d78e
2026-11-16 11:46:32  84532  fixture-key  pm_sponsorUserOperation       client
[… 1288 more characters]
16 records in 1 page
0282
4
$ pimlico requests --key fixture-key --status error --last 24h --method pm_sponsorUserOperation --json
{
  "items": [
    {
      "createdAt": "2026-11-16T16:06:51.658Z",
      "chainId": 84532,
      "method": "pm_sponsorUserOperation",
      "status": "client_error",
      "httpCode": 400,
      "apiCredits": 50,
      "traceId": "2d13aa36a3d6f6d4df1a1495e6e38481",
      "key": "fixture-key",
      "error": {
        "code": -32602,
        "message": "Invalid params: sponsorship policy sp_bitter_anthem is not active"
      },
      "request": null,
      "response": null
    },
    {
      "createdAt": "2026-11-16T12:06:07.217Z",
      "chainId": 84532,
      "method": "pm_sponsorUserOperation",
      "status": "client_error",
      "httpCode": 400,
      "apiCredits": 50,
      "traceId": "de59c8f05448ee69881c06395a59d78e",
      "key": "fixture-key",
      "error": {
        "code": -32602,
        "message": "Invalid params: sponsorship policy sp_bitter_anthem is not active"
      },
      "request": null,
      "response": null
    },
    {
      "createdAt": "2026-11-16T11:46:32.651Z",
      "chainId": 84532,
      "method": "pm_sponsorUserOperation",
      "status": "client_error",
      "httpCode": 400,
      "apiCredits": 50,
      "traceId": "d2bc94c575fddc693f324576e639d6f9",
      "key": "fixture-key",
      "error": {
        "code": -32602,
        "message": "Invalid params: sponsorship policy sp_bitter_anthem is not active"
      },
      "request": null,
      "response": null
    }
  ],
  "nextCursor": null,
  "warnings": []
}
0182

Final state

outcome
pass
final answer
In the last 24 hours, 16 RPC calls through `fixture-key` failed. All were on Base Sepolia (chain 84532), and together they used 625 API credits. They fall into four error types:

| # | Method | Error | Times (UTC, 2026-11-16) |
|---|---|---|---|
| 7 | `eth_estimateUserOperationGas` | HTTP 400, `-32521 ERC20: transfer amount exceeds balance` | 00:53, 01:56, 08:10, 11:26, 14:42, 16:13, 20:34 |
| 4 | `eth_sendUserOperation` | HTTP 400, `-32500 AA25 invalid account nonce` | 06:31, 08:05, 14:14, 21:16 |
| 3 | `pm_sponsorUserOperation` | HTTP 400, `-32602 Invalid params: sponsorship policy sp_bitter_anthem is not active` | 11:46, 12:06, 16:06 |
| 2 | `eth_sendUserOperation` | HTTP 500, `-32603 Internal error` | 15:32, 16:56 |

What each one likely means:
- **ERC20 transfer exceeds balance:** a user operation tries to send more of a token than the sending account holds, so gas estimation reverts. This is a problem with the account's funds or the call data, not with Pimlico.
- **AA25 invalid nonce:** the operations were sent with a stale or reused nonce. Concurrent or retried sends from the same account are a common cause.
- **Inactive policy:** the client still points at sponsorship policy `sp_bitter_anthem`, which is turned off. Either switch it back on (`pimlico policies enable sp_bitter_anthem`) or point the client at an active policy.
- **Internal error (500):** these two came from Pimlico's side. If they matter, raise them with Pimlico support using the trace IDs `9a459eef575b5b6682dca3e8966a97a2` and `b86ce82c6db614bd3d3b6661587fb733`.

To pull trace IDs for the other failures, run `pimlico requests --key fixture-key --status error`.
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
WebFetch (sandbox) · WebSearch (provider)

context inputs

none

prompt

You have the `pimlico` CLI available.

Which RPC calls through our fixture-key Pimlico API key failed in the last 24 hours, and with what errors?

Artifacts

run.json · agent-stdout.jsonl · service-mock.log · session.jsonl