Errors and troubleshooting

This page provides a guide to common JSON-RPC and HTTP errors when testing your connection with GetBlock's API.

Connection issues

Code
Error message
Solution

401

Access denied

Double-check that <ACCESS_TOKEN> is correctly replaced with your actual token. Ensure there are no trailing spaces.

404

Could not resolve host

Verify that the URL https://go.getblock.io/<ACCESS_TOKEN>/ is correct.

429

Too many requests

Check your GetBlock account for usage limits. Upgrade your plan if necessary.

JSON-RPC errors

Code
Error message
Solution

32601

The method does not exist/is not available

Verify the method name (eth_blockNumber, eth_getBalance, etc.) against the blockchain's JSON-RPC specifications.

32602

Invalid argument

Ensure the parameters in the params array match the expected format for the method.

32700

Parse error

Double-check your JSON syntax. Ensure your request is properly formatted.

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.