Azure Blob存储事件订阅Webhook验证握手失败求助
我是Azure新手,想要创建事件订阅,将Blob存储中的资源写入成功事件通过HTTP推送到我的Logic App。我的Logic App已配置「收到HTTP请求时」触发器,直接发送请求可正常触发。
我的配置信息:
- 名称:自定义命名(无关紧要)
- ...
- TOPIC NAME:随机命名(不确定是否需要关联特定对象)
- 源资源:我的存储账户
- ENDPOINT:使用Logic App概览页面的Workflow URL,地址如下:
https://LOGICAPPNAME.azurewebsites.net:443/api/APPNAME/triggers/manual/invoke?api-version=2022-05-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=RjVKZbs-0CV559hZYlFfhM0k22W39lS5
将该URL复制到浏览器可触发Logic App(推测为GET请求,不确定请求方法是否有影响)。
遇到的错误:
Deployment has failed with the following error: {"code":"Url validation","message":"Webhook validation handshake failed for https://LOGICAPPNAME.azurewebsites.net/api/APPNAME/triggers/manual/invoke. Http POST request retuned 2XX response with response body . When a validation request is accepted without validation code in the response body, Http GET is expected on the validation url included in the validation event(within 10 minutes). For troublehooting, visit https://aka.ms/esvalidation. Activity id:ID, timestamp: DATE TIME"}
我参考过相关示例配置,请问该如何解决这个Webhook验证失败的问题?
内容的提问来源于stack exchange,提问作者Mostafa Bouzari

