APNs : missing topic errors

I have an app with bundle Id (lets say, my.app.test) which uses Push Capabilities. I have generated necessary SSL certificates for Development and Production distribution and shared them with our Notification Provider.

The Notification Provider uses the APN/HTTP2 interface for publishing notifications and in development environment everything works fine.


I signed my application with App Store distribution cert and hosted it on Test Flight for testing in our Production environment which uses a separate instance of the Notification Provider loaded with Prod SSL certs. However, when publishing notifications, the Notification Provider is reporting HTTP 400 with "Missing Topics" error.


I read the contents of the SSL certificates and see that the Development certificate does not have topic extensions whereas the Production certificates do and these look like :


  1. my.app.test
  2. my.app.test.voip
  3. my.app.test.complication


Questions :

  1. We do not use VoIP notifications and do not have a watchkit component, however, the Prod SSL certs have these topics by default. This makes our Prod cert a multi-topic enabler and consequently, entails a requirement on the Notification Provider to be aware of the application bundle Id and specifically the topic to be used for publishes (to be supplied through apns-topic header). Can someone please confirm if the understanding is correct?
  2. Is it possible to NOT have these extensions in the Prod SSL cert (and make it similar to Development cert) specifically because we are not using VoIP or watchkit services? This is so that we eliminate the dependency of having Notification Provider be aware of the app bundle ID?

3. Assuming #2 is not possible, is it possible to pass multiple values in apns-topic header on publish side, for instance,

apns-topic : my.app.test, my.app.test.voip, my.app.test.complication


4. If the application is distributed with a profile that is tied to Bundle ID : "my.app.test", do we need to create a separate profile for bundle ID : "my.app.test.voip" in order to leverage VoIP notifications?


Kindly advise.


Edit: Also asked this question on Stack Overflow : http://stackoverflow.com/questions/40351170/aps-missing-topic

We are seeing something similar, I'm using the HTTP/2 with Auth Tokens.


Specifically, utilizing an app bundle identifier (or the .voip variant) for the topic the service replies with TOPIC-DISALLOWED.


Is there a different topic scheme for the HTTP/2 system? Everything I've seen states use the bundle identifier.

I've confirmed the app settings match what exists for the App ID in the member center.


Thank you!

Has anyone had any luck with this?


I'm using the same method for 2 apps that work fine. However, a third app is receiving TopicDisallowed.


The 2 that are working are existing apps, the third app is a new one.


Cheers,

Leigh

Hi,

I'm also getting a topic disallowed error, is there anyone who can support me?

APNs : missing topic errors
 
 
Q