The json document in couchbase was created using .NET 184.108.40.206
We are trying to automate things and therefore want to read this json document in the bucket using java sdk, but we get error,
Exception in thread “main” com.couchbase.client.java.error.TranscodingException: Flags (0x112) indicate non-JSON document for id
We have tried to downgrade our java sdk from 2(latest) to 1 to lower versions but no luck. Please can anyone help us out ?
UPDATE : We downgraded the java sdk to 1.4 and used the custom transcoder here by ingenthr (thank you) and it worked,
However, still would like to know if this issue is going to be resolved in later versions of 2.x
the Java SDK2 is compatible with the Java SDK1
the .NET SDK2 is compatible with the .NET SDK1
the Java SDK2 is compatible with the .NET SDK2
the Java SDK1 is compatible with the .NET SDK1 if you use the custom transcoder.
There is currently no plan as far as I know to make the Java SDK2 compatible with the .NET SDK1 or the .NET SDK2 compatible with the Java SDK1.