Skip to content

Conversation

@sidepelican
Copy link
Contributor

This adds support for the BadEnvironmentKeyInToken error reason returned by APNs.
The error occurs when an authentication key or token is used with the wrong APNs environment (e.g. production key against sandbox).
Previously this was treated as .unknown.

@kylebrowning kylebrowning merged commit eb302f9 into swift-server-community:main Oct 30, 2025
6 checks passed
@sidepelican sidepelican deleted the badEnvironmentKeyInToken branch October 30, 2025 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants