Couchbase MuteteInResult always returns Index 0 is invalid error

Hi @Erdem_Ontas

Yes, most mutateIn operations don’t return what they’ve written. This is because generally you know what that is - e.g. you have isRandom here - and it saves bytes on the wire.

The exception are counters: if you increment or decrement a counter, it does return what was written, since you otherwise wouldn’t that information.