Loading

Applying Outbound Policies to Flex Gateway Results in a 400 Error

Veröffentlichungsdatum: Apr 14, 2026
Beschreibung

error as below

The API Manager UI is sending pointcutData: null in the request body. However, the Management Plane's OpenAPI specification no longer accepts this property for outbound policy endpoints, causing the 400 Bad Request validation failure.
Screenshot 2026-04-01 at 9.14.24 AM.png


 

 

 

Lösung

Bug Confirmed

Our product team has identified and logged this as a known bug:


Bug ID: W-21834107
Status: Pending Release

A fix is in progress and will be included in an upcoming release. We will notify you as soon as there is a timeline update or the fix becomes available.

 

Track the known issue here > https://help.salesforce.com/s/issue?id=a02Ka00000mmnrx

Zusätzliche Ressourcen

Workaround :

While the fix is pending, you can apply outbound policies by calling the API Manager API directly via curl, omitting the pointcutData field from the request body:

curl -X POST "https://anypoint.mulesoft.com/apimanager/xapi/v1/organizations/{orgId}/environments/{envId}/apis/{apiId}/policies/outbound-policies" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"configurationData":{...},"apiVersionId":...,"groupId":"...","assetId":"credential-injection-oauth2","assetVersion":"1.2.0","label":null,"upstreamIds":["..."]}'

This has been confirmed to return HTTP 201 and the policy will appear in the API Manager UI successfully.

Ref > https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/api-manager-api/

Nummer des Knowledge-Artikels

005318026

 
Laden
Salesforce Help | Article