Confluence Auth API access via proxy

Hi Team,

I am trying to build an application to fetch audit logs of confluence. I have created a app and added scope. I can get the code using authrization url and also able get to get token from postman. But I am getting 403 if I try to access the via proxy in code.

Getting error as below:

java.util.concurrent.ExecutionException: akka.http.impl.engine.client.ProxyConnectionFailedException: The HTTP(S) proxy rejected to open a connection to with status code: 403 Forbidden