Error: "Please ensure that the shipping_address has less than 100 characters"

Error: "Please ensure that the shipping_address has less than 100 characters"

I want to populate the Shipping Address of an invoice with these values:

  1. address_map = Map();
  2. address_map.put("attention", trim(address_list_value.get(0)));
  3. address_map.put("street", trim(address_list_value.get(1)));
  4. address_map.put("street2", trim(address_list_value.get(2)));
  5. address_map.put("city", trim(address_list_value.get(3)));
  6. address_map.put("state", trim(address_list_value.get(4)));
  7. address_map.put("zip", trim(address_list_value.get(5)));
  8. invoice.put("shipping_address", address_map);
The error message from Deluge is:

  1.  Please ensure that the shipping_address has less than 100 characters



This is the JSON from an invoice manually created.

"shipping_address": {
    "zip": "39211",
    "country": "USA",
    "address": "600 Main Street",
    "city": "Jackson",
    "phone": "",
    "street": "600 Main Street",
    "attention": "Jon Doe",
    "street2": "Apt 1B",
    "state": "MS",
    "fax": ""
}

This is the JSON I am trying to programmatically use.

"shipping_address": {
    {
        "attention": "Jon Doe",
        "street": "123 Main Street",
        "street2": "",
        "city": "Anytown",
        "state": "Illinois",
        "zip": "60101"
    }
}

    Zoho Marketing Automation

            Zoho Pagesense Resources

              Zoho SalesIQ Resources



                    Zoho TeamInbox Resources

                      Zoho DataPrep Resources



                        Zoho CRM Plus Resources

                          Zoho Books Resources


                            Zoho Subscriptions Resources

                              Zoho Desk Resources

                                Zoho Projects Resources


                                  Zoho Sprints Resources


                                    Qntrl Resources


                                      Zoho Creator Resources


                                        Zoho WorkDrive Resources





                                            Zoho Campaigns Resources

                                              Zoho CRM Resources

                                                      Design. Discuss. Deliver.

                                                      Create visually engaging stories with Zoho Show.

                                                      Get Started Now