UseDefaultCredentials option is not working powershell 4.0

Hi,

I’m trying to invoke API call with below command but getting unauthorized error 401 in one of the server. it’s working in another server with same configuration. is there any way to debug why windows not able to use default credentials

Invoke-RestMethod -uri "http://site" -UseDefaultCredential