N
Novuβ€’2y ago
serafeimo

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
Unknown Userβ€’2y ago
Message Not Public
Sign In & Join Server To View
DavidSouthmountain
DavidSouthmountainβ€’2y ago
Maybe @raikas or @midka have inputs on this πŸ™‚
Unknown User
Unknown Userβ€’2y ago
Message Not Public
Sign In & Join Server To View
Tomer Barnea
Tomer Barneaβ€’2y ago
Tagging @Engineering to give us a hand πŸ–οΈ
DavidSouthmountain
DavidSouthmountainβ€’2y ago
@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 πŸ™‚
serafeimo
serafeimoβ€’2y ago
GitHub
πŸ› Bug Report: APNS missing topic Β· Issue #2351 Β· novuhq/novu
πŸ“œ Description I&#39;m trying to send a push notification using APNS provider but I&#39;m getting an error that (I think) indicates that there&#39;s something missing from the configurat...
serafeimo
serafeimoβ€’17mo ago
Hi all! Is there any update on this? Thanks!
Dima Grossman
Dima Grossmanβ€’17mo ago
Hi @serafeimo will be taking a look at this in the following couple of weeks. Will update on the issue itself. πŸ™