ORA-39976
Incorrect bind API used for the package DBMS_SQL.
Cause
An incorrect bind API was used for binding collection or record types.
Action
For binding record or collection types declared in a package specification, use DBMS_SQL.BIND_VARIABLE_PKG API instead of DBMS_SQL.BIND_VARIABLE API.