Error Returns

The following are all error responses that can be returned via the API.

No Query

No payload provided in the body of the request.

{
    "meta": {
        "timestamp": "2019-10-21T13:02:48"
    },
    "error": {
        "message": "No Query",
        "code": "IN0"
    }
}

Query Not Parsable

Input JSON not valid.

{
    "meta": {
        "timestamp": "2019-10-21T13:04:26"
    },
    "error": {
        "message": "Query Not Parsable",
        "code": "IN1",
        "detail": "{the payload body}"
    }
}

Bad Login

Invalid username or password.

No Target

No target object provided in the body of the request.

Missing Required Input

One or more of the required input attributes are missing or empty.

Input Failed Validation

One or more of the input fields are not being sent as described.

Token Bad or Expired

The token you are sending for quiz scoring is either invalid or has expired.

User Not Active

The API user is not an active account.

No Such Service

Invalid or empty service name provided.

Last updated