document (common) errors and what to do
nathany opened this issue · 2 comments
azr commented
Hey there,
Found another one :
Failed pushService.Push: the Topic header of the request was not specified and was required
Edit: Documentation says
The apns-topic header of the request was not specified and was required. The apns-topic header is mandatory when the client is connected using a certificate that supports multiple topics.
Edit2: it was just fixed by setting the Topic header of the notification to the bundle identifier with which I built the app.
nathany commented
Thanks for the note. You can also use certificate.TopicFromCert
to extract the bundle identifier from the certificate.