this is the code i have written
Discussion posts and replies are publicly visible
the error message is telling you that local!crAppContractCustTessSupport is an array, and shouldn't be. If it is a list and you need to update all items in the list, you should iterate over it using a!forEach() and calling updateDictionary() inside that. If it's not supposed to be a list, then you need to take specific steps where it's initially defined to make sure it resolves as a single dictionary as opposed to an array.