Loading
Salesforce now sends email only from verified domains. Read More

Resource-Level Policy Configuration Not Supported – PolicyValidationError (API Manager 2.5.29)

Publish Date: May 5, 2026
Description

An issue was observed where resource-level policy configuration was not available in the API Manager UI or via automation scripts, leading to deployment failures.

The following error is returned during policy application:

 
400: {"name":"PolicyValidationError","message":"The policy template does not support resource level configuration"} 


Environment:


  • API Manager Version: 2.5.29
  • Runtime: Mule 4.9.x
Cause:

  • The policy template does not support resource-level configuration
  • The field resourceLevelSupported is set to false
  • The policy is being applied with resource-level conditions (pointcutData)

With API Manager 2.5.29, validation is enforced to ensure consistency between policy configuration and usage. Policies that do not explicitly support resource-level configuration are rejected.

 
Resolution

Update the custom policy definition based on intended usage:

  • If resource-level configuration is required:
    • Set resourceLevelSupported: true
  • If not required:
    • Keep resourceLevelSupported: false
    • Remove any resource-level conditions
    • Apply the policy at API level only
Knowledge Article Number

005321703

 
Loading
Salesforce Help | Article