The Push Notification System handle for the registration is invalid

Samantha MATESO 6 Reputation points
2021-08-18T15:54:17.757+00:00

Hi,

I'm a bit lost with notifications.

I'm looking to make notifications per devices and I'm testing on Android.

I did a web api who is registering the device using his device id as tags and the firebase token using FCM as registrationId in the xml body.

I have a 200 code response but when I'm testing to send notification for all devices on my azure portal I have this error : The Push Notification System handle for the registration is invalid

It seems that my the registration is not well done but I don't know what I did wrong.

I checked all of my configuration but everything is well set.

Do you have any solution for me ?

Thank you

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
265 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,901 Reputation points Microsoft Vendor
    2021-08-19T06:41:12.023+00:00

    First of all, please check if you add following receiver in your AndroidManifest.xml like following link.

    https://learn.microsoft.com/en-us/azure/notification-hubs/xamarin-notification-hubs-push-notifications-android-gcm#registering-with-firebase-cloud-messaging

    The Push Notification System handle for the registration is invalid

    1. Make sure the server key is correct
    2. The registration needs to be re-register everytime your app start-up
    3. You could follow Diagnosis guidelines to troubleshoot this issue
    0 comments No comments