Error
Error Code:
ORA-28405
Oracle ORA-28405: Secure Role Grant
Description
The ORA-28405 error occurs in Oracle Database when attempting to grant a password-protected or secure application role to another role. Secure roles can only be granted directly to individual users, not to other roles.
Error Message
ORA-28405: cannot grant secure role to a role
Known Causes
2 known causesGranting Secure Role to Role
You attempted to grant a secure or password-protected application role to another role, which is not permitted.
Incorrect Grant Statement
The `GRANT` statement is attempting to grant a secure role to a role instead of a user.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service