{ "id": "173114", "key": "AC-6166", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-03-13T05:50:05.000+0000", "created": "2019-03-11T22:49:11.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-13T05:50:05.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14558", "name": "Arrow Cloud" } ], "description": "Sending a push notification via the cloud api is failing with the error \"Exception Type: General; Error Code: 1005; Error Message: There is no corresponding subscriptions and no need to send push\".\r\nThis is incorrect as there are devices subscribed.\r\nFurther more, sending the push manually in the axway console is sending the notification correctly (same channel and same payload.\r\n\r\nThere is one android device registered which receives the notifications sent through the console, but not via the api", "attachment": [ { "id": "66235", "filename": "Screen Shot 2019-03-12 at 9.48.25 am.png", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2019-03-11T22:48:35.000+0000", "size": 461721, "mimeType": "image/png" } ], "flagged": false, "summary": "Push Notification Api failing", "creator": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "environment": null, "comment": { "comments": [ { "id": "446758", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nThanks for sharing this. Do the following and let us know the results.\r\n1. Please uninstall the app from the device\r\n2. Re register it with the push and build again with latest SDK", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-12T09:01:26.000+0000", "updated": "2019-03-12T09:01:26.000+0000" }, { "id": "446777", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Are you using a custom server for sending push notification? as you said using Axway dashboard console sends the notification correctly. I believe the issues are with your custom server. Make sure the device is registered there. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-12T18:09:37.000+0000", "updated": "2019-03-12T18:09:37.000+0000" }, { "id": "446793", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "body": "I ended up setting up and registering an iOS device as well and suddenly the android notifications were coming through.\r\n\r\nThe custom server is just calling the Axway api directly so it's not the issue (and I could replicate calling the api manually via curl).\r\n\r\nFrom what I can see it was failing (from the api) if there was only 1 device registered, but was working correctly from Axway Dashboard.\r\n\r\nIt's working now so I'll close it off", "updateAuthor": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2019-03-13T02:13:29.000+0000", "updated": "2019-03-13T02:13:29.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }