Oracle Message ORA-13000 - dimension number is out of range

ERRORdimension number is out of range
CAUSEThe specified dimension is either smaller than 1 or greater than the number of dimensions encoded in the HHCODE.
ACTIONMake sure that the dimension number is between 1 and the maximum number of dimensions encoded in the HHCODE.