ToolAssay

Why did my Solana transaction fail?

Why did my Solana transaction fail? Turns a Solana error or custom program error code into the cause and fix. Run whenever a Solana transaction or dry run fails, before retrying. Retrying blind burns fees. Turns a Solana error (hex code, log line or RPC error) into the plain cause and fix. Offline, no chain call.

Answers HTTP 503 without x402 payment termsour last check, 2026-11-27
0 of 7checks answered this week
n/amedian answer time
$0.01listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://solana-pulse-gateway-1021990235790.us-central1.run.app/api/tools/why_failed

CategoryCode and developer
Provider hostsolana-pulse-gateway-1021990235790.us-central1.run.app
Networkseip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days3 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 no x402 terms 503 275 ms
2026-11-26 no x402 terms 200 330 ms
2026-11-25 no x402 terms 200 286 ms
2026-11-24 no x402 terms 200 334 ms
2026-11-23 no x402 terms 200 286 ms
2026-11-22 no x402 terms 200 290 ms
2026-11-21 no x402 terms 200 318 ms
2026-11-20 no x402 terms 200 327 ms
2026-11-19 no x402 terms 200 310 ms
2026-11-18 no x402 terms 200 491 ms
2026-11-17 no x402 terms 200 346 ms
2026-11-16 no x402 terms 200 289 ms
2026-11-15 no x402 terms 200 287 ms
2026-11-14 no x402 terms 200 306 ms
2026-11-13 no x402 terms 200 288 ms

Example input (from the provider)

{
  "body": {
    "error": "Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 failed: custom program error: 0x1771",
    "program": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "error": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                }
              ],
              "description": "The error as you got it: \"custom program error: 0x1771\", \"InsufficientFundsForRent\", or the RPC error object. From your send or RPC error, a dry-run result, a wallet message, or history."
            },
            "program": {
              "description": "The failing program. Needed to read custom error codes right. From the log line \"Program <address> failed\", or from explain_tx.",
              "type": "string"
            }
          },
          "required": [
            "error"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON