Solved

Push error - FCM_UNAUTHENTICATED

  • 5 May 2023
  • 1 reply
  • 579 views

Hey Community,

 

I’m now receiving an "FCM_UNAUTHENTICATED" error message for IOS devices but on android devices it's working well. I’m not very sure what I’m doing wrong here.

 

Does anyone know how I could can resolve this issue?

icon

Best answer by Penny 5 May 2023, 07:55

View original

1 reply

Userlevel 4

Hi @broris!

Usually, the FCM_UNAUTHENTICATED error is a general error for an authentication failure with Firebase and this error often arises when there are issues around certificates or authentication with Apple PNs (APNs), but sometimes, they revolve around the device token.

To elaborate on that, Firebase's documentation here (https://firebase.google.com/docs/reference/fcm/rest/v1/ErrorCode) states that this "THIRD_PARTY_AUTH_ERROR" error can mean:
 

"...the APNs certificate or web push auth key was invalid or missing. It is a message targeted to an iOS device, or a web push registration could not be sent. Check the validity of your development and production credentials."

 

You can try to check your Firebase project to confirm that an APNs authentication key has been uploaded. Per Firebase's documentation, you can find that under your Project Settings: https://firebase.google.com/docs/cloud-messaging/ios/client#upload_your_apns_authentication_key

Hopefully this helps!

Reply