Bad CAS value: the document maybe has been updated after you get the service. You may need to get the service again before setting your modification

This error occurs when I try to update(PUT) my document taking the CAS value from GET response document, still it says : “Bad CAS value: the document maybe has been updated after you get the service. You may need to get the service again before setting your modification.”

Also this error is only with one of my service and not other services on same CB server.

couchbase-client-version - 2.3.5
chrome version - Version 54.0.2840.99 m

Can anyone help me out with a solution to it.

Hello @gauri.phadtare,

You say you are using couchbase client 2.3.5, but which SDK are you using? Java?

Can you post a code sample to demonstrate the problem?

Thanks,

Matt