使用Bing Web Search API遇权限错误,疑涉计费及统计启用问题
关于Bing Web Search API权限、计费及统计功能的问题排查请求
一、API权限错误问题
当使用Bing Web Search API的累计费用达到202美元后,发起HTTP请求时触发401权限错误,具体错误信息如下:
Error calling Bing API 401 Client Error: PermissionDenied for url: https://api.bing.microsoft.com/v7.0/search?q=%E4%B8%AD%E5%9B%BD&mkt=zh-CN&count=3&cc=CN
同时在Azure控制台的try me标签页测试时,返回结果为:
"ListKeys" permission on this Bing resource is required for the demo to run.
(附权限错误截图:界面显示需要该Bing资源的"ListKeys"权限才能运行演示)
二、计费相关疑问
怀疑上述权限问题与计费有关,已添加信用卡,但在Cost Management: <MyBingSearch> subscription中无法查看付款信息,页面提示:
Payment methods and credits are only available for billing accounts, billing profiles, and pay-as-you-go subscriptions. Please change to a supported scope.
请问是否存在付款相关问题?
三、Bing Statistics启用失败问题
按照指引启用Bing Statistics时失败(附资源启用失败截图:界面显示资源启用操作失败),恳请协助排查。
内容的提问来源于stack exchange,提问作者Zhengning
相关产品推荐
相关产品推荐

