Errors can be returned from calling any method or in the middle of a subscription. The id param is always returned when possible to make it possible to associate the error with the call. There are exceptions to this such as parse error.
signed integer
-32700 |
Parse error |
-32600 |
Invalid request |
-32601 |
Method not found |
-32602 |
Invalid params |
-32603 |
Internal error |
-32000 |
Subscribe error |
-32001 |
Limit error - When you exceed the subscription limits |
string
{ "id": 1, "result": null, "error": { "code": -32000, "message": "Message limit reached for endpoint newPair. Please upgrade for unlimited messages." } }
{ "id": 0, "result": null, "error": { "code": -32700, "message": "cant parse message" } }
{ "id": 1, "result": null, "error": { "code": -32601, "message": "method not found" } }