Apache CouchDB · JSON Structure

Apache Couchdb Error Response Structure

Standard CouchDB error response

Type: object Properties: 2
ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

ErrorResponse is a JSON Structure definition published by Apache CouchDB, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

error reason

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-couchdb/refs/heads/main/json-structure/apache-couchdb-error-response-structure.json",
  "name": "ErrorResponse",
  "description": "Standard CouchDB error response",
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error type code",
      "example": "not_found"
    },
    "reason": {
      "type": "string",
      "description": "Human-readable error description",
      "example": "Database does not exist."
    }
  }
}