Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Shared flow working as flow callout but not in flow hook

Former Community Member
Not applicable

I’m trying to use a CORS policy in a post-proxy flow hook so that CORS headers get set even if there is a fault raised in the proxy. In the debug trace, I see the post-proxy flow hook being called but the CORS headers don’t get set. If I attach the same shared flow as a flow callout, the CORS headers get attached (for successful requests) as expected. I confirmed the flow hook matches the environment I’m testing in (eval org). Any pointers on how to debug further?

3 1 124
1 REPLY 1

Former Community Member
Not applicable

Attaching the debug trace as well. 

 

5jhM8srJ2BvA8Dd.png