IBM PushNotification:Not Found – 目标资源“PushDevice”不存在

我尝试在https://mobile.ng.bluemix.net/imfpush/#!/devices/put_apps_applicationId_devices_deviceId上使用API​​ swigger PUT / apps / {applicationId} / devices / {deviceId} 。 但是我有一个错误信息

{ "code": "FPWSE0001E", "message": "Not Found - The target resource 'PushDevice' does not exist. Check the '23e107c7292d17a772914af05c23d10750613aaa' parameter." } 

请帮助给我你的想法

应用程序或设备不存在

 { "code": "FPWSE0001E", "message": "Not Found - Targeted resource 'PushApplication' does not exist. Check the 'UnknownApplication' parameter" } 

意味着您提供的应用程序或设备不存在。

看起来您正尝试从REST API更新设备注册,因此您需要确保您通过获取当前设备的列表来检查您当前拥有的所有注册设备:

GET /apps/{applicationId}/devices

我不确定你的特定用例是什么,但在大多数情况下,你不应该更新设备注册,并且你需要的任何types的行为都将包含在客户端SDK中。 有关更多信息, 请参阅文档 。