Hi. I'm trying to import documents into a collecti...
# community-help
d
Hi. I'm trying to import documents into a collection with nested objects. creation of collection works fine but when trying to run a bulk import Bad JSON is thrown. Schema: { "name": "your_collection_name", "fields": [ { "name": "name", "type": "string", "optional": true }, { "name": "addresses", "type": "object[]", "optional": true } ] } Sample from *.jsonl import: { "id": 1, "name": "Jack", "addresses": [ { "line_1": "111 1st Street", "city": "Alpha", "zip": "98765" }, { "line_1": "222 2nd Street", "city": "Zeta", "zip": "45678" } ] } error message: { "code": 400, "document": "{\r", "error": "Bad JSON: [json.exception.parse_error.101] parse error at line 1, column 3: syntax error while parsing object key - unexpected end of input; expected string literal", "success": false }