Error Reference

Henesis API Errors

Error Code

Meaning

401

Unauthorized -- You must authenticate your request with a Client ID. Contact us to request one!

403

Unsupported JSON RPC Method

429

Rate limit exceeded

500

Internal Server Error -- We're unable to process your request right now. Get in touch with us if you see this.

Example Response

Unauthorized Error

// http status: 401
{
"jsonrpc": "2.0",
"id": 1,
"error": "authentication error"
}

Unsupported JSON RPC

// http status: 403
{
"error": "unsupported json rpc method",
"id": 1,
"jsonrpc": "2.0"
}

Rate limit exceeded

// http status: 429
{
"error": "Rate limit exceeded",
"id": 1,
"jsonrpc": "2.0"
}

Internal Server Error

// http status: 500
{
"error": "internal error",
"id": 1,
"jsonrpc": "2.0"
}

JSON-RPC Errors

​Ethereum JSON RPC Standard errors would be returned 200 with the JSON-RPC error message.

Standard JSON-RPC Error Codes

Code

Possible Return message

Description

-32700

Parse error

Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.

-32600

Invalid Request

The JSON sent is not a valid Request object.

-32601

Method not found

The method does not exist / is not available.

-32602

Invalid params

Invalid method parameter(s).

-32603

Internal error

Internal JSON-RPC error.

-32000 to -32099

Server error

Reserved for implementation-defined server-errors.

Example Response

// http status: 200
{
"jsonrpc":"2.0",
"error":{
"code":-32700,
"message": "Parse error",
"data":null},
"id":1
}