Powerapps-创建API的客户连接器 [英] Powerapps - creating customer connector to API

查看:76
本文介绍了Powerapps-创建API的客户连接器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建到Microsoft QNA制造商的自定义连接器.我的POST请求在Postman上运行良好.按照https://powerapps.microsoft.com/zh-cn/blog/powerappsbot/上的文章,我从Postman导出了集合,并使用它在Poweapps上创建了自定义连接器. 当我尝试测试连接器时,它失败并显示以下错误:

I am trying to create a custom connector to the Microsoft QNA maker. My POST request works fine on Postman. I exported the collection from Postman and use that to create a custom connector on Poweapps following the article on https://powerapps.microsoft.com/en-us/blog/powerappsbot/. When I try testing the connector, it fails with the following error:

{
  错误":"{\ r \ n  \代码":404,\ r \ n  \"message \":\无法将传入请求与操作匹配.\",\ r \ n  \"source \":\"msmanaged-na.azure-apim.net \",\ r \ n  \路径": \&"\",\ r \ n  \"clientRequestId \":\"c22cxxxx-7xxx-46xx-b698-62b9-e263362c \" \ r \ n}"
}

{
  "error": "{\r\n  \"code\": 404,\r\n  \"message\": \"Unable to match incoming request to an operation.\",\r\n  \"source\": \"msmanaged-na.azure-apim.net\",\r\n  \"path\": \"\",\r\n  \"clientRequestId\": \"c22cxxxx-7xxx-46xx-b698-62b9-e263362c\"\r\n}"
}

,请求网址为https://msmanaged-na.azure-apim.net/apim/lls.20qna.5faa9558d2df721bff.5f12821dd4xxxxxxxx/f231ff6464c643aeaba86eedxxxxxxxx/qnamaker/v2.0//knowledgebases/2ae2d13 b5f2-ba27xxxxxxxx/generateAnswer

and the request url is https://msmanaged-na.azure-apim.net/apim/lls.20qna.5faa9558d2df721bff.5f12821dd4xxxxxxxx/f231ff6464c643aeaba86eedxxxxxxxx/qnamaker/v2.0//knowledgebases/2ae07d13-1034-4f2a-b5f2-ba27xxxxxxxx/generateAnswer

请求授权为

请注意,其中一些文本已在上面进行了编辑,以隐藏自动键等.

Please note some of the texts have been edited above to hide the acutal key etc.

问题是

1.为什么该网址与连接器中指定的网址不同https://westus.api.cognitive.microsoft.com/qnamaker/v2.0//knowledgebases .........

1. Why is the url different to the one specified in the connector https://westus.api.cognitive.microsoft.com/qnamaker/v2.0//knowledgebases.........

2.为什么授权标头与邮递员不同

2. Why is the Authorisation header different to the Postman

3.有什么原因可能会失败吗?

3. Any reason why this could be failing?

任何帮助将不胜感激.

谢谢

安吉洛

推荐答案

StockDev,

这是讨论Microsoft SharePoint问题和反馈的论坛,您的问题与PowerApps有关, 建议您创建 PowerApps论坛中的一个新主题:

This is the forum to discuss questions and feedback for Microsoft SharePoint, your issue is related to PowerApps, I suggest you creating a new thread in PowerApps forum:

https://social.technet.microsoft.com/Forums/en-US /home?category = PowerApps

我们建议适当发布信息的原因是,您将获得最合格的受访者以及阅读论坛的其他合作伙伴定期可以分享他们的知识或向他们学习 您与我们的互动.感谢您的理解.

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thanks for your understanding.

最好的问候,

Lisa Chen


这篇关于Powerapps-创建API的客户连接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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