错误 404 未找到资源 - Power BI/Azure 文本分析

发布于 2025-01-09 17:12:52 字数 1158 浏览 3 评论 0原文

我一直在寻找有关通过 Power BI 桌面部署 Azure 文本分析的答案和支持。本质上,我按照此处的教程进行关键短语提取:

https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/key-phrase-extraction/tutorials/integrate-power-bi

按照列出的步骤操作后BI 给我一个 404 错误代码“找不到资源”。其他人似乎认为端点 URL 不正确,但是我从我的 Azure 帐户中三次检查了端点 URL,即:

https://alextextanalyzer.cognitiveservices.azure.com/

(我是亚历克斯)。我的位置设置为澳大利亚东部。为了进一步参考,我附上了我的 m 语言编辑以及按照 MS 说明进行的编辑。 M 编辑器代码

有人对为什么会发生这种情况有任何建议吗?我已经按照说明更改了隐私设置,但仍然收到错误。据我所知,我其他一切都做对了吗?

错误代码如下:

''查询发生错误。 DataSource.Error:Web.Contents 无法从“https://alextextanalyzer.cognitiveservices.azure.com/v3.0/keyPhrases”获取内容(404):找不到资源 细节: 数据源种类=Web DataSourcePath=https://alextextanalyzer.cognitiveservices.azure.com/v3.0/keyPhrases 网址=https://alextextanalyzer.cognitiveservices.azure.com/v3.0/keyPhrases

I've been searching for answers and support regarding deploying Azure Text Analytics through Power BI desktop. Essentially, I've followed the tutorial here for key phrase extraction:

https://learn.microsoft.com/en-us/azure/cognitive-services/language-service/key-phrase-extraction/tutorials/integrate-power-bi

After following the steps listed Power BI gives me a 404 error code "Resource not found". Others seem to think that the endpoint URL is incorrect, however I triple checked the endpoint URL from my Azure account which is:

https://alextextanalyzer.cognitiveservices.azure.com/

(I'm Alex). My location is set to Australia East. For further reference I've attached my m language edit as well as per the MS instructions. M editor code

Does anyone have any recommendations as to why this might be occurring? I've already changed the privacy settings as per the instructions, and still get an error. As far as I know I've done everything else correctly?

Error code is as follows:

An error occurred in the ‘’ query. DataSource.Error: Web.Contents failed to get contents from 'https://alextextanalyzer.cognitiveservices.azure.com/v3.0/keyPhrases' (404): Resource Not Found
Details:
DataSourceKind=Web
DataSourcePath=https://alextextanalyzer.cognitiveservices.azure.com/v3.0/keyPhrases
Url=https://alextextanalyzer.cognitiveservices.azure.com/v3.0/keyPhrases

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

美人骨 2025-01-16 17:12:52

您缺少端点的一部分。

提供的文档说:

endpoint = "https://<your-custom-subdomain>.cognitiveservices.azure.com/text/analytics" & "/v3.0/keyPhrases"

根据您提供的捕获,您忘记了“文本/分析”部分。它应该是“https://alextextanalyzer.cognitiveservices.azure.com/text/analytics/v3.0/keyPhrases”

你能检查一下吗?

请旋转您的 API 密钥,因为它在捕获中清晰可见;)

You are missing a part of your endpoint.

The provided documentation says:

endpoint = "https://<your-custom-subdomain>.cognitiveservices.azure.com/text/analytics" & "/v3.0/keyPhrases"

Based on the capture you provided, you forgot the "text/analytics" part. It should be "https://alextextanalyzer.cognitiveservices.azure.com/text/analytics/v3.0/keyPhrases"

Can you check?

And please, rotate your API key as it is well visible in the capture ;)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文