Database Error Messages

OCI-42801

The value is not set for the application context attribute ("namespace", "attribute") used by the VPD security policy "policy_name".
  • namespace: The name of the application context namespace.
  • attribute: The name of the application context attribute.
  • policy_name: The name of the row-level security policy.

Cause

A value was not set for every application context attribute for the Virtual Private Database (VPD, Row Level Security, and Fine-grained access control) policy. These attributes are used by VPD policy_type CONTEXT_SENSITIVE or SHARED_CONTEXT_SENSITIVE. A value must be set for every VPD policy of these types.


Action

Update the application procedure or function to set all of the application context attributes needed by the VPD policy and retry the operation.