Click or drag to resize

ResponseStatus Enumeration

The response status for binary Memcached and Couchbase operations.

Namespace:  Couchbase.Core.IO.Operations
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public enum ResponseStatus
Members
  Member nameValueDescription
None-1 Indicates that the enum has not been set.
UnknownError-2 An unknown error occured. Please check logs for more details.
Failure-3 An Error occured and more details can be found in the operation message.
Success0 The operation was successful
KeyNotFound1 The key does not exist in the database
KeyExists2 The key exists in the database.
ValueTooLarge3 The value of the object stored was too large.
InvalidArguments4 The arguments of the operation were invalid.
ItemNotStored5 The item could not be stored in the database
IncrDecrOnNonNumericValue6 The increment operation was called on a non-numeric value
VBucketBelongsToAnotherServer7 The VBucket the operation was attempted on, no longer belongs to the server.
Remarks
This is a common during rebalancing after adding or removing a node or during a failover.
BucketNotConnected8 Not connected to a bucket.
Locked9 The requested resource is locked.
AuthStale31 The authentication context is stale. You should reauthenticate
AuthenticationError32 The connection to Couchbase could not be authenticated.
AuthenticationContinue33 During SASL authentication, another step (or more) must be made before authentication is complete.
Remarks
This is a system-level response status.
InvalidRange34 The value was outside of supported range.
Rollback35 Roll back to an earlier version of the vbucket UUID (_currently_ only used by DCP for agreeing on selecting a starting point)
Eaccess36 No access (could be opcode, value, bucket etc)
NotInitialized37 The Couchbase cluster is currently initializing this node, and the Cluster manager has not yet granted all users access to the cluster.
UnknownCommand129 The server received an unknown command from a client.
OutOfMemory130 The server is temporarily out of memory.
NotSupported131 The operation is not supported.
InternalError132 An internal error has occured.
Busy133 The server was too busy to complete the operation.
TemporaryFailure134 A temporary error has occured in the server.
ClientFailure409 A client error has occured before the operation could be sent to the server.
OperationTimeout512 The operation exceeded the specified OperationTimeout configured for the client instance.
NoReplicasFound768 Returned when the client cannot locate a replica within the cluster map config for a replica read. This would happen if a bucket was not configured to have replicas; if you encounter this error check to make sure you have indeed configured replicas on your bucket.
NodeUnavailable1024 The node or service that the key has been mapped to is offline or cannot be reached.
TransportFailure1280 Indicates that a transport layer failure occured while the client was sending or receiving data.
DocumentMutationLost1536 Document Mutation lost during a hard failover.
DocumentMutationDetected1537 A document mutation was detected on the document being observed.
SubDocPathNotFound192 Subdocument error indicating the path inside the JSON is invalid.
SubDocPathMismatch193 Subdocument error indicating one of the path components was denoting a wrong type (eg. trying to access an array index in an entry that isn't an array). Also for arithmetic operations when the value of the path is not a number.
SubDocPathInvalid194 Subdocument error indicating that the path provided is invalid. For operations requiring an array index, this is returned if the last component of that path isn't an array. Similarly for operations requiring a dictionary, if the last component isn't a dictionary but eg. an array index.
SubDocPathTooBig195 Subdocument error indicating that the path is too large (ie. the string is too long) or too deep (more that 32 components).
SubDocDocTooDeep196 Subdocument error indicating that the target document's level of JSON nesting is too deep to be processed by the subdoc service.
SubDocCannotInsert197 Subdocument error indicating that the target document is not flagged or recognized as JSON.
SubDocDocNotJson198 Subdocument error indicating that, for arithmetic subdoc operations, the existing number is already too large.
SubDocNumRange199 Subdocument error indicating that for arithmetic subdoc operations, the operation will make the value too large.
SubDocDeltaRange200 Subdocument error indicating that for arithmetic subdoc operations, the operation will make the value too large.
SubDocPathExists201 Subdocument error indicating that the last component of the path already exist despite the mutation operation expecting it not to exist (the mutation was expecting to create only the last part of the path and store the fragment there).
SubDocValueTooDeep202 Subdocument error indicating that, in a multi-specification, an invalid combination of commands were specified, including the case where too many paths were specified.
SubDocInvalidCombo203 Subdocument error indicating that, in a multi-specification, an invalid combination of commands were specified, including the case where too many paths were specified.
SubDocMultiPathFailure204 Subdocument error indicating that, in a multi-specification, one or more commands failed to execute on a document which exists (ie. the key was valid).
SubDocXattrInvalidFlagCombo206 Subdocument error indicating the flag combination for an XATTR operation was invalid.
SubDocXattrInvalidKeyCombo207 Subdocument error indicating the key combination for an XATTR opeation was invalid.
SubdocXattrUnknownMacro208 The server has no knowledge of the requested macro
SubdocXattrUnknownVattr209 The server has no knowledge of the requested virtual xattr
SubdocXattrCantModifyVattr210 Virtual xattrs can't be modified
SubdocMultiPathFailureDeleted211 [For multi-path commands only] Specified key was found as a Deleted document, but one or more path operations failed. Examine the individual lookup_result (MULTI_LOOKUP) mutation_result (MULTI_MUTATION) structures for details.
SubdocInvalidXattrOrder212 According to the spec all xattr commands should come first, followed by the commands for the document body
UnknownCollection136 Collection does not exist.
DurabilityInvalidLevel160 Invalid request. Returned if an invalid durability level is specified.
DurabilityImpossible161 Valid request, but given durability requirements are impossible to achieve - because insufficient configured replicas are connected. Assuming level=majority and C=number of configured nodes, durability becomes impossible if floor((C + 1) / 2) nodes or greater are offline.
SyncWriteInProgress162 Returned if an attempt is made to mutate a key which already has a SyncWrite pending. Transient, the client would typically retry (possibly with backoff). Similar to ELOCKED.
SyncWriteAmbiguous163 The SyncWrite request has not completed in the specified time and has ambiguous result - it may Succeed or Fail; but the final value is not yet known.
See Also