从Power Automate Flow调用Azure Functions API提示“未找到附件”问题排查
Azure Functions API在Power Automate调用时提示“未找到附件”
我开发了一个基于Azure Document Intelligence的Azure Functions API,用来提取文档数据并返回JSON格式结果。这个API在Postman和UiPath里调用都正常,但用Power Automate Flow的HTTP请求调用时,一直收到API返回的“No attachments found”(未找到附件)提示。推测是Power Automate的HTTP请求缺少默认未提供的参数。
相关截图说明
- Power Automate的HTTP请求配置界面截图
- Power Automate收到的“No attachments found”错误响应截图
Postman请求负载截图说明
- Postman的请求头配置界面截图
- Postman的请求体类型设置为
form-data的截图 - Postman中
form-data的key设置为“file”、类型选择为File的截图 - Postman中选择待处理文档文件的截图
- Postman发送请求后成功返回提取数据的JSON结果截图
内容的提问来源于stack exchange,提问作者Svj
相关产品推荐
相关产品推荐

