【问题标题】:errorCode : MINIMUM_SERVER when access obtainAccessToken in IBM MFP8errorCode : MINIMUM_SERVER 在 IBM MFP8 中访问 getAccessToken 时
【发布时间】:2017-08-29 06:45:39
【问题描述】:

我在尝试调用时遇到了失败

 WLAuthorizationManager.obtainAccessToken()

使用 Ionic 2 和 MFP 8

这是消息

============== {"status":-1,"responseText":"","errorMsg":"此版本的 MobileFirst 客户端 SDK 需要最低服务器版本 大于 IFIX 8.0.0.0-IF201701250919","errorCode":"MINIMUM_SERVER"}

我们的安装团队还安装了最新的 iFix 包。

我也附上了代码 sn-p。

app.component.ts

WL.Client.pinTrustedCertificatePublicKey('mycert.cer').then(() => {
console.log('--------SSL Pin Success-------------');
WLAuthorizationManager.obtainAccessToken().then((accessToken) => {
console.log('--------accessToken Success-------------', accessToken);
}, (response) => {
console.log('--------accessToken Failure-------------', response);
let usrname ="roney";
let passwrd = "roney@123";
let modalc = this.modal.create("UserLoginChallengeHandler",{"username":usrname,"password":passwrd});
modalc.present();
modalc.onDidDismiss((data)=>{
//further to proceed goes here
this.statusBar.styleDefault();
this.splashScreen.hide();
this.fcmInformation();
}); 
}); 
}).fail((error) => {
console.log('--------SSL Pin failed-------------', error);
});

【问题讨论】:

    标签: ionic2 ibm-mobilefirst mfp


    【解决方案1】:

    这意味着,您的服务器仍在运行比客户端更旧的 iFix 级别。服务器可能仍未更新 - 可能是更新不正确或不完整。服务器端日志(跟踪)将准确告知正在运行的服务器端组件的版本。 另一种选择是验证网络捕获 - 这将提供有关服务器端消息和版本的更多详细信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-02-11
      • 2012-07-27
      • 1970-01-01
      • 2023-03-16
      • 2018-10-14
      • 1970-01-01
      • 2020-04-20
      相关资源
      最近更新 更多