Cannot add Included Policy Fragment due to circular policy include
search cancel

Cannot add Included Policy Fragment due to circular policy include

book

Article ID: 94288

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

When adding an Included Policy Fragment into Policy, if you see the error:

"Cannot add Included Policy Fragment due to circular policy include"

This means there is a conflict in the logic.

Environment

Release:
Component: APIGTW

Resolution

To fix, you will have to remove the Included Policy Fragment from the policy. This means the Policy Fragment you're adding already contains the Parent policy which would cause an infinite loop. Ensure there is no circular logic when using multiple Include Policy Fragments in one.