APNS missing topic
Hi all!
I'm trying to send a push notification using APNS provider but I'm getting an error that (I think) indicates that there's something missing from the configuration.
{
"stack": "Error: 85a57fd53908d108da4c3fe1da073677c418e3bb7674f96e2cb46bcc69eb8a3c failed for reason: MissingTopic\n at APNSPushProvider.<anonymous> (/usr/src/app/providers/apns/build/main/lib/apns.provider.js:84:35)\n at step (/usr/src/app/providers/apns/build/main/lib/apns.provider.js:44:23)\n at Object.next (/usr/src/app/providers/apns/build/main/lib/apns.provider.js:25:53)\n at fulfilled (/usr/src/app/providers/apns/build/main/lib/apns.provider.js:16:58)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)",
"message": "85a57fd53908d108da4c3fe1da073677c418e3bb7674f96e2cb46bcc69eb8a3c failed for reason: MissingTopic"
}
The configuration for the APNS provider in Novu requires:
1. Private Key
2. Key ID
3. Team ID
After searching in Google, I found out that the "topic" is actually the "bundleId". Other apps that provide APNS testing requires that (bundleid/topic) to be set together with the rest of the parameters (private key, keyid, teamid) before setting the payload and sending the notification.
I'm not familiar with APNS, so I'm not sure if my assumption is correct but I tried placing this parameter in payload and overrides objects without any luck.
Any help would be highly appreciated!
Thanks!
8 Replies
Unknown Userβ’2y ago
Message Not Public
Sign In & Join Server To View
Maybe @raikas or @midka have inputs on this π
Unknown Userβ’2y ago
Message Not Public
Sign In & Join Server To View
Tagging @Engineering to give us a hand ποΈ
@serafeimo I have tried to google this as well and have made the same assumption as you so I would like to ask you to create an issue at Github π
Thanks for beta testing APNS with us π
GitHub
π Bug Report: APNS missing topic Β· Issue #2351 Β· novuhq/novu
π Description I'm trying to send a push notification using APNS provider but I'm getting an error that (I think) indicates that there's something missing from the configurat...
Hi all! Is there any update on this?
Thanks!
Hi @serafeimo will be taking a look at this in the following couple of weeks. Will update on the issue itself. π