Error
Error Code:
ORA-28123
Oracle ORA-28123: Invalid Policy Group
Description
This error indicates an invalid policy group was specified when initializing a policy driving context using `DBMS_SESSION.SET_CONTEXT`. It typically occurs when the specified group does not exist or is misspelled.
Error Message
ORA-28123: Driving context ' string , string ' contains invalid group ' string '
Known Causes
3 known causesInvalid Group Name
The policy group name passed to `DBMS_SESSION.SET_CONTEXT` does not exist in the database.
Typographical Error
A typo exists in the policy group name specified in the `DBMS_SESSION.SET_CONTEXT` call.
Incorrect Schema
The policy group exists, but not in the schema where `DBMS_SESSION.SET_CONTEXT` is being called, or the group is not accessible to the 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