We want to store documents of a particular type in Couchbase Server only and those documents should not get synced down to Couchbase Lite. These documents are written directly to Couchbase Server.
Currently Sync Gateway sync function rejects these documents with message: [INF] Import: Error importing doc “xxxxxxxxxx”: 403 Invalid document type.
Is this the right approach? Do we need to do something differently on these documents in sync function?