Work in progress: A list of common CouchDB errors returned by the REST API

status

error

reason

comment / additional info

400

bad_request

400

query_parse_error

400

illegal_database_name

Name: <Name>. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter.

401

unauthorized

403

forbidden

404

not_found

missing

404

not_acceptable

409

conflict

Document update conflict

412

file_exists

The database could not be created, the file already exists.

412

missing_stub

413

too_large

the request entity is too large.

415

bad_content_type

416

requested_range_not_satisfiable

Requested range not satisfiable

500

unknown_error

Code reference: https://github.com/apache/couchdb/blob/master/src/couchdb/couch_httpd.erl#L807