Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6166] Push Notification Api failing

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2019-03-13T05:50:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsArrow Cloud
Labelsn/a
ReporterBeau Gibson
AssigneeShak Hossain
Created2019-03-11T22:49:11.000+0000
Updated2019-03-13T05:50:05.000+0000

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". This is incorrect as there are devices subscribed. Further more, sending the push manually in the axway console is sending the notification correctly (same channel and same payload. There is one android device registered which receives the notifications sent through the console, but not via the api

Attachments

FileDateSize
Screen Shot 2019-03-12 at 9.48.25 am.png2019-03-11T22:48:35.000+0000461721

Comments

  1. Rakhi Mitro 2019-03-12

    Hello, Thanks for sharing this. Do the following and let us know the results. 1. Please uninstall the app from the device 2. Re register it with the push and build again with latest SDK
  2. Sharif AbuDarda 2019-03-12

    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.
  3. Beau Gibson 2019-03-13

    I ended up setting up and registering an iOS device as well and suddenly the android notifications were coming through. The 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). From what I can see it was failing (from the api) if there was only 1 device registered, but was working correctly from Axway Dashboard. It's working now so I'll close it off

JSON Source