> On Feb 20, 2015, at 1:54 AM, [email protected] wrote:
> I get a 404 also but if I replace attachments with _attachments, I get the
> doc as an answer…
>
Changing it to “_attachments” is the same as removing that query parameter
entirely, because “_attachments” isn’t a parameter the gateway looks for.
Without “attachments=true”, the default behavior is to send the document but
without the bodies of attachments.
It sounds like what’s happening is that one of the attachments is missing from
the bucket, causing the entire request to fail. Each attachment is stored in
the bucket under a key that’s “_sync:att:” plus the attachment’s ‘digest’
property. So use the Couchbase admin UI to look in the bucket and see if you
can find
_sync:att:sha1-051h0Z+NQSCxhLG4T2KaQ/t//pI=
_sync:att: sha1-AB9fKIoAixcsqZGQSvFRZuCOsxU=
If either is missing, something weird’s going on…
—Jens
--
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/8F2179F4-F04D-4780-8E5B-4B95EC27AC26%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.