Hi,

I'm getting this error when trying to save any CBLModel to the database. 
This is on macOS 10.12.6.

*Error Domain=CBLHTTP Code=400 "Invalid database/document/revision ID" 
UserInfo={NSLocalizedFailureReason=Invalid database/document/revision ID, 
NSLocalizedDescription=Invalid database/document/revision ID}*

Is there a way to find out what revision ID is causing the problem or any 
way of correcting this database?

I tried exporting all the data and importing into a new database, but it 
didn't resolve the problem. Mind you, my export routine retains the 
revision ID history and passes them back into the 
putExistingRevisionWithProperties method. So I suspect that's why it's 
failing still.

Is there a way to determine if a revision ID is invalid so that I can skip 
it when I'm exporting my data?

I'm using the getRevisionHistory method on CBLDocument to get the revision 
histories.

Clearly there's something wrong with the data here, but I need to figure 
out a way to fix it.


Thanks,

Brendan

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/c0be532a-054b-4139-b429-8cbfa07d4c2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to