> For the complete documentation index, see [llms.txt](https://docs.megaeth.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.megaeth.com/developer-docs/overview-2/rpc-reference/error-codes.md).

# Error Codes

| HTTP Error Code | RPC Error Code | Error Message                                                  | Explanation                                                           | Mitigation                                                                                               |
| --------------- | -------------- | -------------------------------------------------------------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| 400             | -32700         | `parse error`                                                  | The request body contains invalid JSON.                               | Check the request format and ensure valid JSON syntax.                                                   |
| 403             | -32601         | `rpc method is not whitelisted`                                | The requested RPC method is not allowed by the proxy configuration.   | Use only whitelisted RPC methods. Contact MegaETH if you need access to additional methods.              |
| 400             | -32019         | `block is out of range`                                        | The requested block number is out of range.                           | Check the block number and ensure it's within the valid range.                                           |
| 500             | -32020         | `backend response too large`                                   | The backend response is too large.                                    | Reduce the scope of the request or contact MegaETH for assistance.                                       |
| 429             | -32021         | `over network traffic limit, retry in X seconds`               | The user is incurring too much network traffic.                       | Wait for the specified number of seconds before retrying. Reduce the number of requests sent per second. |
| 429             | -32022         | `over compute unit limit, retry in X seconds`                  | The user is incurring too much computation on the backend RPC server. | Wait for the specified number of seconds before retrying. Reduce the number of requests sent per second. |
| 200             | -32000         | `permanent error forwarding request context deadline exceeded` | The API proxy cannot connect to the backend RPC server.               | Pause for a while and retry. Notify MegaETH if the error persists.                                       |

## Related Pages

* [RPC Reference](/developer-docs/overview-2.md) — full method availability table


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.megaeth.com/developer-docs/overview-2/rpc-reference/error-codes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
