I see lot of log entries in my sync gateway logs that look like something is trying to save a stub deleted document, and since we require all documents to have a type field it fails as a 403 error. There is no user associated with the request to save the stub document either. Is this something normal that sync gateway itself is trying to do, and if so is there a special permissions check I can do that will allow sync gateway to save these stub documents? The log entry looks like this:
2017-04-20T14:08:39.369Z Sync fn rejected: new=map[_rev:2-4e06228ca6233e67c363a6a2c48e10bd _revisions:map[start:2 ids:[4e06228ca6233e67c363a6a2c48e10bd 4b8d13da9c3f83093f25b524ffe9d4e6]] _deleted:true _id:8d787620-bc99-445f-8040-bd88c9ab89fe] old= --> 403 invalid document
2017-04-20T14:08:39.369Z BulkDocs: Doc "8d787620-bc99-445f-8040-bd88c9ab89fe" --> 403 invalid document (403 invalid document)