0
votes

Error updating notification hub:

{"error":{"message":"SubCode=40000. Failed to validate credentials with WNS. The remote server returned an error: (400) Bad Request...TrackingId:aa79d90b-f09c-4549-8a06-2086f29f02f5_M11CH3_M11CH3_G12,TimeStamp:6/4/2019 12:15:26 PM","code":"BadRequest"}}

The above error occurs when saving Package SID and Security Key in Windows(WNS) in azure notification hub portal. Can you please help this issue

1
It's a Azure Notification Hubs configuration settings issue. Please follow the Send notifications to Universal Windows Platform apps by using Azure Notification Hubs document to confirm all configurations are correct.Xie Steven
Thanks for your replay. I have followed that document and all the steps. After creating a secret key I have entered package SID and Secret key when saving that WNS key same issue occurs. Any idea?Arun
You said that you create a secret key. Have you activated it?Xie Steven
How to activate the secret key? I have a check that pages but no option available?Arun
In the application secrets section, when you click 'Generate a new Password', a new line is there, the 'Activate' button is on the same line.Xie Steven

1 Answers

2
votes

In Package ID box we need to update Application ID and in Secret Key box, we need to update that new key generated in Application Secrets key.