I think I've figured out what the issue is here.....

I have a generic base document class that I use for inserting, and it has 
an _attachments property. Not every document has attachments, so it gets 
inserted with "_attachments": null

I flushed my bucket and inserted all the documents again fresh, and now not 
even one document will sync. I conclude the reason only some were not 
before is because there were existing documents in the bucket from before 
that did not have the _attachments property.

How do you suggest I handle this? Will I be forced to omit the _attachments 
property if there are none, or is there a default value I can use like an 
empty string?

On Thursday, 28 November 2013 14:52:38 UTC-5, Ryan Payne wrote:
>
> I've found some info in the docs saying Document limit is 10MB and 
> attachment is 20MB. Just want to confirm that there is no limit on the 
> amount of attachments on a document. Hypothetically, let's say I have a 
> 20kb document with 27 1MB attachments. This is acceptable yes?
>

-- 
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/976f7326-18a0-4edc-951c-2bf85d40f587%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to