Hi all,
I have encountered a very strange case when action "run python script", it produced pythonscriptoutput of
{
"customer_name1_text": "test1",
"Created By": "1639508334545x479973977990408450",
"customer_address1_text": "test1 address",
"delivery_date1_date": "2342-02-02T19:42:00.000Z",
"item_qty_text": "1",
"remark_text": "test1",
"Modified Date": "2021-12-15T10:44:12.933Z",
"transaction_date_date": "4234-02-02T18:34:00.000Z",
"_id": "1639524201778x506621132000460800",
"Created Date": "2021-12-14T23:23:22.382Z",
"item_name_text": "testst",
"status_text": "draft",
"item_code1_text": "23424234sdfsdf",
"sync_status1_number": 0,
"customer_phone1_text": "234234234234",
"order_type_text": "Sales"
}
JSON format verified by online tools. But when this output taken into next action, for example "convert JSON to custom object" then I have "unexpected character encountered while parsing value: . Path '', line 0, position 0", if use the same pythonscriptoutput to another "run python script" like "json = %PythonScriptOutput%" the error is "unexpected token ''".
Any idea what went wrong?
thx