What it means
You tried an action that your user or role is not allowed to do.
Common causes
- Missing system or object privilege
- Privilege granted through a role does not work inside a stored procedure
- Connecting as SYSDBA without password file or OS group
How to fix it
- Check what you have:
SELECT * FROM session_privs; - Grant the specific privilege directly:
GRANT <privilege> TO <user>; - For procedures, grant directly or use AUTHID CURRENT_USER
- For AS SYSDBA, make sure the OS user is in the dba group or a password file exists
How to prevent it
Grant least privilege directly to schema owners for code that needs it.
Still stuck? Ask the community in Q&A.