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!

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now