Exception::Couldn't connect to the Box API due to a network error
Hi Team,
I am getting below error while accessing box api using jaxrs-resteasy services in java application to upload document in box api.
Exception::Couldn't connect to the Box API due to a network error.
20**removed**:10:15,083 ERROR [default task-3] - Exception::::cause:::javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target .
Couldn't connect to the Box API due to a network error?
I am able to generate the access and refresh token using configuration in postman.
{
"access_token": "xxxxxxxxxxx"
"expires_in": 4214,
"restricted_to": [],
"refresh_token": "xxxxxxxxxxxxxxxxxx",
"token_type": "bearer"
}
Please suggest the solution for this problem.
Appreciate your help.
Regards,
Santhosh
サインインしてコメントを残してください。
コメント
4件のコメント