Oracle Message PLS-00666 - Only index by binary_integer/pls_integer associative arrays allowed here

ERROROnly index by binary_integer/pls_integer associative arrays allowed here
CAUSEAn attempt was made to specify index collection that was not indexed by binary_integer or pls_integer.
ACTIONChange the index collection variable type to associative array that is indexed by binary_integer or pls_integer.