20trust / 100

Error Explain

by Aayat AI in Developer tools

x402 APIFailing, checked 2 h ago

Explain and fix an error: finds matching GitHub issues and Stack Overflow questions (like /error/known), reads the top accepted answers in full, then writes the likely cause and concrete fix steps citing those sources, and says plainly when nothing matching was found. Paste the error (stack traces fine) and optionally the library.

GET https://aayatai.com/error/explain

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
6.7%
Response time
837 ms typical, 837 ms slowest 5%
Last check
2 h ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/error/explain?ecosystem=npm&library=hono&message=Error%3A+Cannot+find+module+%27hono%2Fcors%27"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Ferror%2Fexplain
const res = await pay("https://aayatai.com/error/explain?ecosystem=npm&library=hono&message=Error%3A+Cannot+find+module+%27hono%2Fcors%27");
console.log(await res.json());

Example input

{
  "ecosystem": "npm",
  "library": "hono",
  "message": "Error: Cannot find module 'hono/cors'"
}

Example output

{
  "checkedAt": "2026-09-28T12:00:00.000Z",
  "explanation": "## Likely cause\nYour TypeScript moduleResolution can't read package exports [1].\n\n## Fix\n1. Set \"moduleResolution\": \"bundler\" [1].",
  "known": true,
  "library": "hono",
  "matches": [
    {
      "answers": 8,
      "createdAt": "2026-01-01T00:00:00Z",
      "excerpt": "Set moduleResolution to bundler...",
      "relevance": 1,
      "score": 12,
      "source": "github-issue",
      "status": "closed",
      "title": "Cannot find module 'hono/cors' with moduleResolution node",
      "url": "https://github.com/honojs/hono/issues/1"
    }
  ],
  "query": "Error: Cannot find module 'hono/cors'",
  "repository": "https://github.com/honojs/hono",
  "sources": [
    {
      "count": 1,
      "name": "github-issues",
      "ok": true
    },
    {
      "count": 1,
      "name": "stackoverflow",
      "ok": true
    }
  ],
  "summary": "2 similar report(s); 1 solved (closed issue or accepted answer)."
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoExpected HTTP 402, got 410410104 ms-
7 h agoExpected HTTP 402, got 410410199 ms-
11 h agoExpected HTTP 402, got 410410160 ms-
15 h agoExpected HTTP 402, got 410410147 ms-
19 h agoExpected HTTP 402, got 410410156 ms-
23 h agoExpected HTTP 402, got 41041035 ms-
27 h agoExpected HTTP 402, got 410410106 ms-
31 h agoExpected HTTP 402, got 410410103 ms-
35 h agoExpected HTTP 402, got 410410124 ms-
40 h agoExpected HTTP 402, got 410410235 ms-
43 h agoExpected HTTP 402, got 410410115 ms-
2 days agoExpected HTTP 402, got 410410129 ms-
2 days agoExpected HTTP 402, got 410410126 ms-
2 days agoExpected HTTP 402, got 41041036 ms-
2 days agoPassed402837 ms$0.03