OpenAPI Integration Service returns Authorization error for Public operations

I have created an OpenAPI Integration Service (HCLCAuthSessionOpenAPIService). I have added one Public operation (LoginIdentity-login) in same service. It runs fine when I run it inside cloud console. But it gives following error when I run it in App Services or Postman -

HCLCAuthSessionOpenAPIService > LoginIdentity-login -

{
    "opstatus":0,"errors":[
    {
        "errorKey":"ERR_AUTHORIZATION_FROM_AUTHORIZATION_HEADER_FAILED",
        "errorParameters":"[]",
        "errorMessage":"CWXFR0231E: Authorization from the "Authorization" header failed.",
        "errorCode":"CWXFR0231E"
    }
],"httpStatusCode":401
}

Please help!

Hi Ashish,

Can you show how your Integration service is defined in Foundry? Also can you share how you setup the Postman service call?

I am guessing that your target API endpoint requires authorization to access, from Foundry. The Postman call to Foundry will not need this authorization. But more information will help to solve your issue.