Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/42.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs IBM PushNotification:未找到-目标资源';推动装置';不存在_Angularjs_Node.js_Ibm Cloud_Ibm Mobile Services - Fatal编程技术网

Angularjs IBM PushNotification:未找到-目标资源';推动装置';不存在

Angularjs IBM PushNotification:未找到-目标资源';推动装置';不存在,angularjs,node.js,ibm-cloud,ibm-mobile-services,Angularjs,Node.js,Ibm Cloud,Ibm Mobile Services,我尝试使用API-swaggerPUT/apps/{applicationId}/devices/{deviceId}at。但是我有一个错误消息 { "code": "FPWSE0001E", "message": "Not Found - The target resource 'PushDevice' does not exist. Check the '23e107c7292d17a772914af05c23d10750613aaa' parameter." } 请告诉我你的想法

我尝试使用API-swaggerPUT/apps/{applicationId}/devices/{deviceId}at。但是我有一个错误消息

{
  "code": "FPWSE0001E",
  "message": "Not Found - The target resource 'PushDevice' does not exist. Check the '23e107c7292d17a772914af05c23d10750613aaa' parameter."
}
请告诉我你的想法

应用程序或设备不存在

表示您提供的应用程序或设备不存在

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

GET/apps/{applicationId}/devices


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

您能说说您想做什么吗?如果可能,请包括出现错误时正在运行的代码。
{
  "code": "FPWSE0001E",
  "message": "Not Found - Targeted resource 'PushApplication' does not exist. Check the 'UnknownApplication' parameter"
}