Support Center > Search Results > SecureKnowledge Details
"cannot delete a policy " error when removing a large policy Technical Level
Symptoms
  • The user cannot delete a policy and receives this error:

    Policy Name: XXX-POLICY
    Error: Failed to delete object
    

Cause
In some scenarios, Security policy deletion or installation may fail when there are many Application Control objects in the policy. When the user tries to remove objects, too many values are sent to the query (more than 32,767), and it reaches the Postgres limitation.


Solution
Note: To view this solution you need to Sign In .