gpt4 book ai didi

Azure EventGrid 事件订阅 : error 400: XML specified is not syntactically valid

转载 作者:行者123 更新时间:2023-12-03 01:36:14 25 4
gpt4 key购买 nike

我需要监听来自 Azure Blob 存储的事件。
我正在按照本教程 Quickstart: Route storage events to web endpoint with Azure CLI 中的步骤操作.
我已从 Microsoft 提供的预构建 Web 应用程序创建了消息端点。现在我尝试使用以下命令创建事件(从教程复制)

storageid=$(az storage account show --name dealhubsftpintegrations --resource-group Dealhub --query id --output tsv)
endpoint=https://dealhubsharon.azurewebsites.net/api/updates
az eventgrid event-subscription create \
--source-resource-id $storageid \
--name dealhubsftpintegrations \
--endpoint $endpoint

我收到以下回复

Argument 'resource_id' has been deprecated and will be removed in version '2.1.0'. Use '--source-resource-id' instead.
If the provided endpoint does not support subscription validation handshake, navigate to the validation URL that you receive in the subscriptionvalidation event, in order to complete the event subscription creation or update. For more details, please visit http://aka.ms/esvalidation
Deployment failed. Correlation ID: 8bbe1a84-fe87-460b-b7fb-24fb8a78f952. The attempt to configure storage notifications for the provided storageaccount dealhubsftpintegrations failed. Please ensure that your storage account meets the requirements described at https://aka.ms/storageevents.
The error is 400: XML specified is not syntactically valid.

我不知道需要修复什么。在网络上搜索错误消息会给出不相关的结果

最佳答案

发现此(相当神秘)消息意味着存储帐户属于“通用 v1”类型,需要升级到“通用 v2”

关于Azure EventGrid 事件订阅 : error 400: XML specified is not syntactically valid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57690508/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com