Shared Flow issue on Developer Portal

I added a CORS policy in the API proxy. I wanted to reuse the CORS policy in the shared flow. But when I add the shared flow and try to reuse it, it works for some time and then it fails to show the output on the developer portal. Is there a way to resolve this?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<AssignMessage async="false" continueOnError="false" enabled="true" name="AM-add-CORS"> 
<DisplayName>AM-add-CORS</DisplayName> 
<Add> 
<Headers> 
<Header name="Access-Control-Allow-Origin">{request.header.origin}</Header> 
<Header name="Access-Control-Allow-Headers">{substring(request.header.Access-Control-Request-Headers.values,1,-1)}</Header> 
<!-- Set to a larger value in seconds, this allows for testing --> 
<Header name="Access-Control-Max-Age">60</Header> 
<Header name="Access-Control-Allow-Methods">GET, PUT, POST, DELETE, OPTIONS</Header> 
<Header name="X-CORS">true</Header> 
</Headers> 
</Add> 
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> 
<AssignTo createNew="false" transport="http" type="response"/> 
</AssignMessage>
0 0 43
0 REPLIES 0