When I executed GenesysAPI in a Java program, I got the following error.
What is the cause of the error?
Please tell me why the GenesysAPI succeeds in executing and getting the return value, but I don't know why I get the following error.
■GenesysAPI Execution Procedure
1.Obtain access token by specifying clientId,clientSecret,region,userId
2.Build apiClient with access token
■Error
com.ibm.security.krb5.KrbException、Status code: 31
Message: Integrity check on decrypted field failed
at com.ibm.security.krb5.KrbTgsRep.(Unknown Source)
at com.ibm.security.krb5.KrbTgsReq.getReply(Unknown Source)
at com.ibm.security.krb5.KrbTgsReq.sendAndGetCreds(Unknown Source)
at com.ibm.security.krb5.internal.l.b(Unknown Source)
at com.ibm.security.krb5.internal.l.a(Unknown Source)
at com.ibm.security.krb5.Credentials.acquireServiceCreds(Unknown Source)
at com.ibm.security.krb5.Credentials.acquireServiceCreds(Unknown Source)
at com.ibm.security.jgss.mech.krb5.g.a(Unknown Source)
at com.ibm.security.jgss.mech.krb5.g.initSecContext(Unknown Source)
at com.ibm.security.jgss.mech.spnego.SPNEGOContext.a(Unknown Source)
at com.ibm.security.jgss.mech.spnego.SPNEGOContext.initSecContext(Unknown Source)
at com.ibm.security.jgss.GSSContextImpl.initSecContext(Unknown Source)
at com.ibm.security.jgss.GSSContextImpl.initSecContext(Unknown Source)
at org.apache.http.impl.auth.GGSSchemeBase.generateGSSToken(GGSSchemeBase.java:123)
at org.apache.http.impl.auth.SPNegoScheme.generateToken(SPNegoScheme.java:95)
at org.apache.http.impl.auth.GGSSchemeBase.authenticate(GGSSchemeBase.java:221)
at org.apache.http.impl.auth.SPNegoScheme.authenticate(SPNegoScheme.java:85)
at org.apache.http.impl.auth.HttpAuthenticator.doAuth(HttpAuthenticator.java:233)
at org.apache.http.impl.auth.HttpAuthenticator.generateAuthResponse(HttpAuthenticator.java:198)
at org.apache.http.impl.execchain.MainClientExec.createTunnelToTarget(MainClientExec.java:483)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:410)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at com.mypurecloud.sdk.v2.connector.apache.ApacheHttpClientConnector.invoke(ApacheHttpClientConnector.java:71)
at com.mypurecloud.sdk.v2.ApiClient.getAPIResponse(ApiClient.java:749)
at com.mypurecloud.sdk.v2.ApiClient.invoke(ApiClient.java:867)
at com.mypurecloud.sdk.v2.api.PresenceApi.getSystempresences(PresenceApi.java:332)
at com.mypurecloud.sdk.v2.api.PresenceApi.getSystempresences(PresenceApi.java:304)
at com.testapp.test.testApp.main(testApp.java:89)
■Other Information
・java version "1.8.0_331"(IBM)
・platform-client-v2-149.0.1.jar