I'm making an Ionic/Cordova app, which needs push notifications, and have Microsoft Azure as the backend. Since GCM is deprecated in favor of FCM, I'm using that. I have used Add push notifications to your Apache Cordova app tutorial as the base, and referred from Sending push notifications to Android with Azure Notification Hubs as well.
While adding the FCM server key under GCM API Key to Azure App Service Push settings, I get the following error:
Error updating notification hub.
There are no other helpful comments with this.
Previous solutions to similar errors included enabling GCM from Google Developer Console. But FCM does not require that option, as far as I understand. What could be the problem?