********************************************************************************
Message : "You called the function 'Value Selector' with these arguments:
1: String
2: Name ("MULESOFT")
But it expects one of these combinations:
(Array, Name)
(Array, String)
(Date, Name)
(DateTime, Name)
(LocalDateTime, Name)
(LocalTime, Name)
(Object, Name)
(Object, String)
(Period, Name)
(Time, Name)
The above error can occur due to several reasons. Below given fixes can provide you a solution
Common fixes to solve above error
Setting the MIME Type correctly: Documentation link
Convert the payload to Array or Array of Objects as expected by the flow
Verify whether JSON payload is coming as JSON String or JSON Object Useful link
Mapping an Object to Array: Use pluck function
0 Comments