Hi Jens,

Ok, I understand.

I did what you suggested and indeed the attachment is not there.

My storyplayer-sync bucket has been regenerated by sync gateway from my 
storyplayer-api bucket. Maybe something went wrong there ? How can I 
request through the couchbase admin UI the attachments in 
the storyplayer-api bucket ?

If it's missing from storyplayer-api bucket, then something went wrong when 
restoring by backup... (fortunately i am talking of a preprod environment.

Thanks Jens

Thomas

Le vendredi 20 février 2015 18:24:27 UTC+1, Jens Alfke a écrit :
>
>
> On Feb 20, 2015, at 1:54 AM, [email protected] <javascript:> 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/f324bf09-0ce5-44dc-b608-0ce2275877e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to