Message Oracle ORA-29470 - Effective userid or roles are not the same as when cursor was parsed

ERROREffective userid or roles are not the same as when cursor was parsed
CAUSEThe effective userid or roles on this call to DBMS_SQL are not the same as those at the time the cursor was parsed.
ACTIONMake sure the effective userid and roles are the same as when cursor was pared.