We have seen the following error in our logs:
com.l7tech.server.policy.assertion.ServerEncapsulatedAssertion: 10050:Underlying policy fragment is invalid for Encapsulated Assertion: "Policy Name"
Release: 9.X
Component: API GATEWAY
This error is commonly associated when there is a mismatch between what's in the database and the cache.
Our cache is stored on the individual nodes. The cache from the back-end is used for subsequent processing, sparing the back-end service from needing to respond to the request. This cuts down on the load and traffic needed. Generally, this issue tends to be one-offs and can be resolved by restarting the server or the SSG service, but if the issue persists then removing and reinstalling the underlying assertion may be required.
The issue will happen around policies with the same encapsulated assertion.
For more information on Manage Encapsulated Assertions please see our guide.