Help needed - "Invalid input for invalid data. The expected input type is jsonobject."

Help needed - "Invalid input for invalid data. The expected input type is jsonobject."

Hi guys, need your help again...

I'm using Zoho Flow to create a sales order from our third part ecommerce app.

However, I'm getting the error message: Zoho CRM says "Invalid input for invalid data. The expected input type is jsonobject."

Can you help me fix that by sharing the proper custom function?

Below are the Zoho CRM sales order problematic fields.
The only mandatory field is highlighted in red (I could disregard the others if that make things easier)

Maybe this is super easy to you...

API Name - Data Type - Custom Field
Amount - Total - Formula
Description - Description - Multi Line (Large)    
Discount - Discount- Currency
List Price - List_Price - Currency    
Product Details - Product_Name - Lookup  
Quantity - Quantity - Decimal    
Tax - Tax - Currency    
Total - Net_Total - Formula


Thanks in advance!