通知平台没有完成请求的适当权限。 [英] The notification platform does not have the proper privileges to complete the request.

查看:94
本文介绍了通知平台没有完成请求的适当权限。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经尝试了一切,但是当我们打电话时:

We have tried everything, but when we call:

PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync(); 

PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync(); 

我们总是得到以下错误:

We are always getting the error below:

通知平台没有完成请求的适当权限。 (来自HRESULT的异常:0x803E0208)

The notification platform does not have the proper privileges to complete the request. (Exception from HRESULT: 0x803E0208)

这可能与我们的Identity.Name为"4ward"的事实有关。它以数字开头?

Can this be related to the fact that our Identity.Name is "4ward" and it starts with a number?

推荐答案

该错误不应与您的Identity.Name有任何关系。正如其描述所述,这意味着应用程序在没有足够权限创建频道的上下文中运行。

That error shouldn't have anything to do with your Identity.Name. As its description states, it means that the app is running in a context that doesn't have sufficient privileges to create the channel.

当您收到此错误时,如何运行应用程序?如果应用程序正常运行(从开始屏幕),你得到这个吗?

How are you running the app when you get this error? Do you get this when the app is run normally (from the start screen)?

- Rob


这篇关于通知平台没有完成请求的适当权限。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆