DEV Community

ADEKOLA Abdwahab
ADEKOLA Abdwahab

Posted on

13

An error occurred when trying to authenticate to the FCM servers

The error message again: `


'An error occurred when trying to authenticate to the FCM servers. Make sure the credential used to authenticate this SDK has the proper permissions. See https://firebase.google.com/docs/admin/setup

This error message is about enabling Cloud Messaging and Firebase Cloud Messaging - they are two different services, and both have to be enabled.

Note that yours might not be these two if you are working on a project that requires different services. However, the issue is about enabling required Firebase service.

Firebase authentication error log

menu to click to manage api

Button to Manage project api

button to enable the api

cloud messaging enabled


tweet

for further assistance!

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (1)

Collapse
 
embarq profile image
Lee Igor

Thanks so much! It helped a lot

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay