28 Jan
2020
28 Jan
'20
12:48 p.m.
Hi Stefan, stefan@20c.com (Stefan Pratter) wrote:
print(r.json())
Ah, I've been looking for that; now it just tells me... {'meta': {'error': 'JSON parse error - Expecting value: line 1 column 1 (char 0)'}} Ok, I've now tried putting data=...: - Only the changes as a simple <dict>. - The entire object (from data[0]) as a simple <dict>. - The entire object (from data[0]) as {'data': [ <dict> ] } - The entire object (from data[0]) plus empty meta as {'data': [ <dict> ], 'meta': {} } I'm always getting the JSON parse error. Am I missing a conversion step somewhere? json.dumps() looks alright in all cases. - Elmar.