Oracle Error ORA-22953: Cardinality of the input to powermultiset exceeds maximum allowed

Oracle Error Message

ORA-22953: Cardinality of the input to powermultiset exceeds maximum allowed

Reason for the Error

The cardinality of the input nested table to the powermultiset should not exceed 32 elements

Solution

Reduce the number of elements to the input.