On Sat, Dec 6, 2014 at 5:52 PM, Marcus <[email protected]> wrote: > {'docs': [{'from': u'+123456789101112', 'text': u'\ufffc', '_attachments': > {u'Research Design_2. entwurf.pages': {'data': ‘here are 500kb als > base64-encoded data', 'content_type': None}}, 'rowid': 46231, 'date': > '2014-11-08T15:04:48', '_id': u'55F950E8-577F-45FB-AE5D-BC552C98F883', 'id': > u'55F950E8-577F-45FB-AE5D-BC552C98F883'}]}
This isn't valid JSON object, but Python dict representation. Try to json.dumps it before send. Also content_type should be string, not None. P.S. and why to have two similar id fields? -- ,,,^..^,,,
