Properties
Internal assertion failure
Invalid document ID
An invalid revision ID was attempted to be used to insert a document (usually because of an invalid revision ID written directly into Sync Gateway via the REST API)
Database file can't be opened; may not exist
Database can't be upgraded (might be unsupported dev version)
Data is corrupted
Revision contains corrupted/unreadable data
Database file format is newer than what I can open
Database file format is older than what I can open
DNS Lookup failed
Missing or incorrect user authentication
Update conflict
Data is too large to upload
User doesn't have permission to access resource
Something's wrong with the server
Resource not found
Unimplemented server functionality
HTTP proxy requires authentication
Service is down temporarily
Invalid function parameter or struct value
Invalid query
Unknown query param name, or param number out of range
The client was redirected to an invalid location by the server
The provided URL is not valid
Memory allocation failed (out of memory?)
No such index, or query requires a nonexistent index
File is not a database or encryption key is wrong
Function cannot be called while in a transaction
File is not writeable
Unknown error from remote server
The provided TLS certificate has expired
Self-signed cert, or unknown anchor cert
Cert isn't trusted for other reason
Client certificate was rejected by the server
A required client certificate was not provided
Failure during TLS handshake process
Too many HTTP redirects for the HTTP client to handle
Database can't be closed while a transaction is open
Internal unexpected C++ exception
An unimplemented API call
DNS server doesn't know the hostname
Operation not supported on this database
Unsupported encryption algorithm
TCP socket closed unexpectedly
Unparseable WebSocket message
Can't fulfill request due to "unexpected condition"
Exceptions during P2P replication that are permanent will be assigned this error code
Exceptions during P2P replication that are transient will be assigned this error code
Message payload cannot be handled
Peer has to close, e.g. because host app is quitting
Message is too large for peer to handle
Peer doesn't provide a necessary extension
Not an actual error, but serves as the lower bound for WebSocket related errors
Message violated unspecified policy
Protocol violation: invalid framing data
Database exists but not in the format/storage requested