Skip to main content
Solved

Push error - FCM_UNAUTHENTICATED

  • May 5, 2023
  • 1 reply
  • 2007 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?

Best answer by Penny

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!

View original
Did this topic help you find an answer to your question?

1 reply

Penny
  • 133 replies
  • Answer
  • May 5, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings