I am trying to import a BigQuery Dataset into a Discovery Engine DataStore however I get the following error:
invalid JSON in google.cloud.discoveryengine.v1main.Document @ content: message google.cloud.discoveryengine.v1main.Document.Content, near 1:56 (offset 55): unexpected character: '"'; expected '{'
I have the following query to remove any semicolons:
Solved! Go to Solution.
Hi @JackJonesTrellx,
Welcome to the Google Cloud Community!
It looks like your BigQuery provides the content field as plain text, but your Discovery Engine expects a JSON object, causing the "expected '{'" error.
Here are the potential ways that might help with your use case:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
Hi @JackJonesTrellx,
Welcome to the Google Cloud Community!
It looks like your BigQuery provides the content field as plain text, but your Discovery Engine expects a JSON object, causing the "expected '{'" error.
Here are the potential ways that might help with your use case:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.