Hi, I'm syncing with Cloudant (CouchDB 2.0) and I think that CBL is sending it invalid attachment data, so I'm wondering what's the best way to recover from something like this? In the past if I can identify which attachment is having the problems I can delete it and re-add it and it works fine after that. But sometimes it's difficult to find the attachment that's causing the trouble. I know the document ID that's causing the problem.
Here's the error I'm getting: *NSErrorFailingURLKey=https://myaccount.cloudant.com/db-757c0197a63d47e48a9d98e2ca7c2042/_bulk_docs, CBLServerErrorInfo=<CFBasicHash 0x600000871000 [0x7fff7bd4d440]>{type = immutable dict, count = 2,* *entries =>* * 0 : error = <CFString 0x6000006255e0 [0x7fff7bd4d440]>{contents = "missing_stub"}* * 2 : reason = <CFString 0x6000001077d0 [0x7fff7bd4d440]>{contents = "Invalid attachment stub in rec-c7b3f36ae6c64ce6b8590814a009b7f9 for 90655274-2EA4-4BC0-90CF-4D8448365E34~L0~001.jpeg"}* *}* Any suggestions would be very welcome. Or is this perhaps a bug in CBL? Or CouchDB 2.0? 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/a49bfbb6-2e4f-49f2-bf6a-93abcd15c78b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
