Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

document (common) errors and what to do #85

Open
nathany opened this issue Sep 22, 2016 · 2 comments
Open

document (common) errors and what to do #85

nathany opened this issue Sep 22, 2016 · 2 comments

Comments

@nathany
Copy link
Contributor

nathany commented Sep 22, 2016

BadCertificateEnvironment #33 #76
unknown certificate #80

@azr
Copy link

azr commented Sep 22, 2016

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
Copy link
Contributor Author

nathany commented Sep 22, 2016

Thanks for the note. You can also use certificate.TopicFromCert to extract the bundle identifier from the certificate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants