on-internet
← Community

FCM send to iOS fails with 'Invalid APNs credential' despite valid, verified APNs Auth Key

Stack Overflow ·

I'm sending push notifications via the Firebase Admin SDK (Python) to a registered, valid iOS device token, and every single send fails with "Invalid APNs credential." This happens 100% of the time, across multiple distinct device tokens, over several days — including after completely replacing the APNs Authentication Key. Setup: Spark plan, iOS, sent via Firebase Admin SDK (Python). Send code: message = messaging.Message( notification=messaging.Notification(title=title, body=body), data={k: str(v) for k, v in data.items()}, token=token, apns=messaging.APNSConfig( payload=messaging.APNSPayload

Comments

Sign in or sign up to comment and upvote.

No comments yet.