Errors
Last updated
Last updated
All RESToverHTTP error responses follow the same basic format. An Error object is returned in response to an erroneous RESToverHTTP request, accompanied by an HTTP status code of 400.
Specific error codes are listed with each RESToverHTTP endpoint.
An example of an erroneous Response message
The Error object is expressed as a single JSON Object, with the following members:
Member | Type | Req | Description |
---|---|---|---|
The following general error codes are supported by Paradigm:
Code | Message | Meaning |
---|---|---|
code
number
Y
The type of error that occurred.
message
string
Y
A short description of the error.
data
object
N
Additional structured information about the error. The value is determined by the specific member invoked and may not be present if the error does not require it.
-32700
Parse error
Invalid JSON received by the server.
-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.
429
Desk's ratelimit reached. Expected available in 1 second.
Refer to Rate Limit section above.
1001
Insufficient permissions
The user does not have sufficient permissions to execute the method.
1002
Invalid enumeration set value
The enumeration set value is invalid for the specified field.