Skip to main content
All CollectionsError Messages
Pushing notification error -- DeprecatedEndpoint
Pushing notification error -- DeprecatedEndpoint
Jason Liang avatar
Written by Jason Liang
Updated over 4 months ago

Update 2024 - Google has deprecated legacy FCM in June 2024 - in favor of new Firebase Cloud Messaging API (V1).

All brainCloud devs using FCM should upgrade to the new FCM API by configuring a private key JSON on the App > Design > Notifications > Settings page of the brainCloud Design Portal.

-----------------------

Error code:301 

sendNotification status:301 Response:Error=DeprecatedEndpoint


Google deprecated GCM, the GCM server and client APIs were removed on May 29, 2019. Now, Google supports Firebase Cloud Messaging (FCM), which inherits the reliable and scalable GCM infrastructure, plus many new features. 

There is a setting on brainCould Portal page, at Design | Core App Info | Advanced Settings - Compatibility Settings section, please ensure the [ ] Use legacy GCM for Google Push Notifications is unchecked, if you are using Google FCM on you app.

Otherwise, you will get this pushing notification error from brainCloud server for pushing notification API calls.

Did this answer your question?