API calls to api/json endpoints are failing on Jenkins

Hi Folks,

When we try to access api/json for any Jenkins Job, build failing with Proxy error in one of our Jenkins instance but same is working fine on other Jenkins instance
Both instance are same In terms of configurations vise. Hence we are unable to find root cause.

Jenkins Version: 2.462.2

eg., https://job-name/api/json

It would be great if someone can assist us with this issue.

Thanks in advance.