When trying to integrate couchbase mobile (version 1.1.0) in our hybrid mobile application (ionic), we encountered a problem with push replication on iOS.
At some point in the application (after creating the local database, etc.), a project document with some views is successfully created. Continuous push and pull replication is created and started.
When polling for push replication status, we noticed that it stopped (not normal for continuous replication) shortly after it started.
Couchbase mobile responded with an error (404)
WARNING: CBL_Pusher[http://server:4985/bucket-sync-gateway]: _bulk_docs got an error: { error = "bad_request"; id = "_design/app"; reason = "Invalid doc ID"; status = 400; }
The synchronization gateway registered a similar error:
BulkDocs: Doc "_design/app" --> 400 Invalid doc ID (400 Invalid doc ID)
This only happens on iOS. The Android version has no problems with replication (perhaps project documents are ignored?)
- Why is replication trying to synchronize project documents with ios and not on android?
- Should I synchronize project documents?
- Is there a way to prevent a specific document from syncing? (Native api provides a filtering mechanism for replication, but rest-api does not)
Any idea what could be the problem here?
Greetings
Bert
source share