The Notification payload is invalid (WNS)

Cloud Edward 0 Reputation points

I am not receiving messages from the test send. I followed all the points from the documentation: ( and successfully registered my application in WNS, but I always get an error:Screenshot 2023-11-13 133424

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.
221 questions
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 12,271 Reputation points Microsoft Employee

    Thank you for providing more information. Based on the details you provided, it seems that the issue might be related to the token obtained from the token provider. Here are a few things you can try:

    Verify that the token provider is configured correctly in the Azure portal. You can check the connection string and the access policies for your notification hub.

    Make sure that the token provider is using the correct credentials to authenticate with the notification hub. You can verify this by checking the credentials in the respective push notification service developer portal.

    Check if there are any issues with the certificate used to sign your app package. If the certificate is invalid or has expired, it can cause issues with the token provider.

    Try using the EnableTestSend property again and see if it provides any additional information. You can also try using the Notification Hub REST API to send a test notification and see if it works.

    If none of these steps help, please let us know and we can investigate further.

    0 comments No comments