Hello, im trying to make a Custom Reserch App, then create a new Datastore>Cloud Storage then checking Structured Data Import**-**JSONL with document ID and then selecting my .jsonl file, it always gives this error during importing
invalid JSON in google.cloud.discoveryengine.v1main.Document @ jsonData: string, near 1:50 (offset 49): unexpected character: ‘{’; expected ‘"’
but my jsonl structure looks fine
{“id”:“”,“jsonData”:{“ship_code”:“”,“shipowner_descri”:“”,“ship_descri”:“”,“ship_ownercode”:“”,“ship_imocode”:“”}}
someone faced the same problem?
From what I’m seeing, jsonData should be a JSON string.
Example:
{"id":"doc-0","jsonData":"{\"title\":\"test_doc_0\",\"description\":\"This document uses a blue color theme\",\"color_theme\":\"blue\"}","content":{"mimeType":"application/pdf","uri":"gs://test-bucket-12345678/test_doc_0.pdf"}}