Docs · error · HTTP 400

-32602 Invalid params or a range above the limit

The parameters are malformed, or a range exceeds what the gateway serves (eth_getLogs above 1000 blocks, eth_feeHistory above 1024).

What to do

  1. Paginate log ranges to ≤ 1000 blocks
  2. Check the method page for its exact limit
  3. For bigger scans, tell us what you're building and we'll enable or tailor it for your project, usually within a day: hello@flexyield.io

Where it lives: /docs/methods.

The exact answer

HTTP 400
{
  "error": {
    "code": -32602,
    "message": "eth_getLogs ranges above 1000 blocks aren't served — paginate the range, or if your project needs bigger scans, tell us what you're building and we'll enable or tailor it for your project, usually within a day: hello@flexyield.io",
    "data": {
      "request_id": "<uuid>",
      "support": "/support/new?request_id=<uuid>",
      "contact": "hello@flexyield.io",
      "docs": "https://flexyield.io/docs"
    }
  }
}

All codes: error decoder · methods and limits · file it: /support/new?request_id=….