io7m | single-page | multi-page | epub | Looseleaf User Manual
8. Protocol V1
Previous
8. Protocol V1
Up
8.2. /v1/rud
Next

# 8.1. Generalities

1
On failure conditions that are unrelated to problems on the server (such as hardware or software failure, bugs, and etc), all endpoints return a 4** HTTP status code, and a JSON object of type Errors. An Errors object contains an array-typed errors property such that each element is of type Error. An Error object contains an errorCode property and a human-readable message property.

### 8.1.2. Errors

    {
      "errors": [
        { "errorCode": "operation-not-permitted", "message": "Operation READ not permitted on key /x/y/z" },
        { "errorCode": "not-found", "message": "Key not found: /q" },
      ]
    }

3
See the schema for the exact types of all objects that can be returned by the endpoints.
8. Protocol V1
Previous
8. Protocol V1
Up
8.2. /v1/rud
Next
io7m | single-page | multi-page | epub | Looseleaf User Manual