Error Domain=CBLHTTP Code=400 "Invalid database/document/revision ID" UserInfo={NSLocalizedFailureReason=Invalid database/document/revision ID, NSLocalizedDescription=Invalid database/document/revision ID}
BOOL success = [newDoc putExistingRevisionWithProperties:jsonObject
attachments:attachmentProps
revisionHistory:revIds
fromURL:nil
error:&error];
On Jul 22, 2017, at 12:28 PM, Brendan Duddridge <bren...@gmail.com> wrote:Well, looking at my export of revision history IDs, they all look fine, in that format. They don't all start from 1 though because lots of edits have happened to some of the documents. I'm using SQLite btw.
Hm. Another thing is that when you’re adding a doc with a revision history, the generation numbers in the rev IDs have to be strictly consecutive; no skipping or backtracking.