内部服务器错误。没有设备发现异常

时间:2017-07-12 21:33:02

标签: ios push-notification ibm-mobilefirst

当我尝试通过MFP控制台发送推送通知时,我收到iOS的以下错误

{
    "code": "FPWSE0009E",
    "message": "Internal server error. No devices found.",
    "productVersion": "8.0.0.00-20170220-1900"
}

设备处于活动状态。这是"设备"的结果。 API

{

    "productVersion": "8.0.0.00-20170220-1900",
    "totalListSize": 4,
    "items": [
        {
            "id": "0AC11F77-A89A-4616-9085-4F6009329F3",
            "lastAccessed": "2017-07-12T16:13:56.985Z",
            "status": "ACTIVE",
            "deviceOs": "ios 10.2.1",
            "deviceModel": "iPhone",
            "applicationDeviceAssociations": [
                {
                    "appName": "RandstadJobsiOS",
                    "appId": "com.randstadusa.randstadjobs$ios$2.0.1",
                    "certSerialNumber": "",
                    "deviceId": "0AC11F77-A89A-4616-9085-4F6009329F3",
                    "status": "ENABLED",
                    "deviceStatus": "ACTIVE"
                }
            ]
        },
..

推送适用于Android。

iOS推送认证有效,将于2018年到期。我在产品中使用相同的证书并接收推送通知

此外,我尝试在Xcode中进行调试,它执行以下操作

  • MFPPush.isPushSupported - return true
  • MFPPush.initialize - 返回成功

但是,它不会在代码

中执行MFPPush.registerDevice

**更新

@Vivin

执行Subscription API时,我得到结果

{
    "code": "FPWSE0001E",
    "message": "Not Found - The target resource 'PushDevice' does not exist. Check the '0AC11F77-A89A-4616-9085-4F6009329F3' parameter.",
    "productVersion": "8.0.0.00-20170220-1900"
}

请告诉我如何调试此问题

0 个答案:

没有答案