Our production users are getting failed push replications more and more often and I cannot diagnose this error.
Sync Gateway 1.5
Our production users are starting to get sync failures for unknown reasons. We have not changed anything related to our document schemas, and have no issues saving documents into CBLite. However when certain users sync (push replicate), The _bulk_docs api fails with this obscure error. I am using CBLReplicator to sync, so this _bulk_docs is all under the hood of the CBLLite library.
- How can I increase logging in CBLite iOS to see what the request body looks like in this API request?
- How can I increase logging in SyncGateway to understand what the “Bad JSON” source is?
- What else might throw this error? Is it possible the request body is TOO LARGE for the endpoint to handle in Sync Gateway?