本文介绍了通知中心无法使用WNS验证凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们正在尝试在Xamarin UWP应用程序中使用Azure推送通知支持。我们在Notification Hub WNS页面中添加产品SID和密钥后发生以下错误。
主页 - >通知中心 - > {名称} - Windows(WNS)
{'错误':{'消息':'SubCode = 40000。无法使用WNS验证凭据。远程服务器返回错误:(400)错误请求... TrackingId:aa79d90b-f09c-4549-8a06-2086f29f02f5_M11CH3_M11CH3_G12,TimeStamp:6/4/2019 12:15:26 PM','code':'BadRequest'} }
解决方案
We are trying to use Azure Push Notification support in Xamarin UWP app. While we add Product SID and Secret key in Notification Hub WNS page following error occur. Home ->Notification Hubs->{Name} - Windows (WNS) {'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'}}
解决方案
这篇关于通知中心无法使用WNS验证凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!