{"code":1038,"message":"JSON is not well formed"}
{"code":1038,"message":"JSON is not well formed"}
Today
this began failing:
sales_order_data = zoho.books.createRecord("salesorders",books_organization_ID,order_data);
with this error message.
{"code":1038,"message":"JSON is not well formed"}
This code has been running for two years.
Here is the input json
{
"customer_id": "2274626000040565656",
"zcrm_potential_id": "4356038000177421506",
"date": "16-Jul-2024",
"status": "pending_approval",
"current_sub_status": "pending_approval",
"order_status": "pending_approval",
"line_items": [
{
"item_id": "2274626000029540060",
"name": "Glitter Tank",
"quantity": "1",
"description": "#12949A GLITTER TANK \nBASE BLACK FLEX \nAB STONES \nPACFIC ROYAL BLUE ACCENTS \nWHITE PERAL ACCENTS \nJET STONES \nAPPLIQUÉ WITH FILL AND SCATTER",
"rate": 60,
"item_custom_fields": [
{
"api_name": "cf_size",
"value": "CXS"
},
{
"api_name": "cf_fabric",
"value": "Flex and Mystique"
},
{
"api_name": "cf_logo",
"value": "Rhinestone"
},
{
"api_name": "cf_style_number",
"value": "2171"
},
{
"api_name": "cf_commission_rate",
"value": "8"
},
{
"api_name": "cf_subform_row_id",
"value": "4356038000182863576"
},
{
"api_name": "cf_item_number",
"value": "#13540A"
}
]
}
],
"custom_fields": [
{
"api_name": "cf_estimated_ship_date",
"value": "27-Aug-2024"
}
]
}