Getting InvalidProviderToken for Push Notifications and Campaigns using Authkey.

Hi AppleTeam,
Code Block
We are using authkey(.p8 Certificate) for Push Notifications and Campaigns in our application. But from few months we are facing issues that impacting our Application. We are getting like this error (403 Forbidden: {"reason":"InvalidProviderToken"}). May i know the reason why it is happening and also kindly help me on this to fix this issue.


Thanks in Advance.
Although there are a number of reasons your provider token might be considered

You should start with is the debugging tool at the website jwt.io and make sure everything is as it should be according to the conditions as explained at https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_token-based_connection_to_apns

Make sure your team id, key id, etc. match, and the token is encrypted using the ES256 algorithm.




Thanks Actually tried the solution provided in this forum (https://developer.apple.com/forums/thread/72999) they are also facing the same issue, and it worked.

Getting InvalidProviderToken for Push Notifications and Campaigns using Authkey.
 
 
Q