Apache CouchDB · Schema

ErrorResponse

Standard CouchDB error response

ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

Properties

Name Type Description
error string Error type code
reason string Human-readable error description
View JSON Schema on GitHub

JSON Schema

apache-couchdb-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-couchdb/refs/heads/main/json-schema/apache-couchdb-error-response-schema.json",
  "title": "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."
    }
  }
}