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
You may receive this error if you aren't processing the events fast enough. Usually you will notice long before this happens as your event latency (time behind chain) will build up over 60 seconds. You have a few options to resolve this error:
allowDrops
param (boolean
) as true
to the subscription.
Under normal operation,
messages are not deleted or dropped in your subscription, however setting this will cause random events
to be
dropped
so
you can retain the subscription. It is not reccomended to enable this as you will miss out on vital
data. This is only intended to be used for testing purposes, or whilst you fix an issue with your
receiver.{ "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" } }