type: object

Parameters

Name

Type

Required

Description

code

integer

Yes

A code describing the error type.

message

string

Yes

A textual description of the error.

data

Error Data

No

An object describing more details related to the error. The structure of the ErrorData object is Clarify specific.

Error codes

Below is a list of the possible values for the code field. Codes written with a bold font are specific to Clarify, while the other codes are defined by the JSON RPC 2.0 specification.

Code

Name

Description

-32700

ErrParseInvalidJSON

Indicates invalid JSON is received by the server.

-32600

ErrInvalidRequest

Indicates the sent JSON is not a valid Request object.

-32601

ErrMethodNotFound

Indicates the method does not exist / is not available.

-32602

ErrInvalidParams

Indicates invalid method parmeter(s).

-32603

ErrInternal

Indicates an internal JSON-RPC error.

-32000

ErrServer

Indicates a generic server error.

-32001

ErrProduceInvalidResources

Produce invalid resource(s) in Clarify.

-32002

ErrFoundInvalidResource

Found invalid resource(s) or code issue in Clarify.

-32003

ErrForbidden

Indicates that the requested operation is not permitted by your current access token, or that the input parameters are referencing a resource that isn't accessible / doesn't exist.

-32009

ErrConflict

Indicates a conflicts with current state of Clarify resource(s).

-32015

TryAgain

Indicates that the response should be called again later. Maybe returned in the case of temporal errors or rate limited requests.