All Oracle Error CodesOracle DBA Forum

ORA-01016:

This function can be called only after a fetch
Cause: Cursor in an invalid state.
Action: Make sure that the oci/upi function is called after fetch.