Oracle Solution for Error nze-29111

NZE-29111: Invalid index

What triggered the Error:

The index passed for getting the bag type is less than 1.

What should we do to fix it:

Check to ensure that the index is greater than 1.