Oracle Message PLS-01911 - : associative array key violates its type constraints

ERROR: associative array key violates its type constraints
CAUSEThe key value of an element being inserted into an associative array violates the the key type constraints.
ACTIONRelax the constraints if the key value is meant to be acceptable. Otherwise, apply a valid key value when inserting an element.