OAuth 2.0 Token Exchange Failure with External API - Egress Proxy Error

Hi,

I’m experiencing an issue with OAuth 2.0 token exchange when connecting
to an external e-commerce API (Cafe24) through Foundry.

Issue:

  • Authorization code is successfully returned from the OAuth provider
  • Token exchange fails with error: “runtime exception while calling
    oauth2 server via egress-proxy”

What I’ve verified:

  • Redirect URI matches on both sides ✓
  • Network egress policies approved for the API domain ✓
  • Scope format is correct ✓
  • Direct OAuth test successfully returns authorization code ✓

Questions:

  1. Are there additional egress configurations required for token endpoints?
  2. Any known issues with egress-proxy for OAuth token exchange?
  3. How can I debug the token exchange step?

Thanks!