数据工厂中的Azure功能 - 调用端点时出错 [英] Azure Function in Data Factory- Error calling the endpoint

查看:64
本文介绍了数据工厂中的Azure功能 - 调用端点时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用Data Factory中的Azure功能。测试结果喜忧参半。 Azure函数被调用并正在执行应该执行的操作(创建文件),但数据工厂不断收到错误。 

I've been experimenting with Azure Functions within Data Factory. Testing has had mixed results. The Azure Function gets called and is doing what is supposed to do (creates a file) but Data Factory keeps getting an error back. 

{" errorCode":" 3600"," message":"错误调用端点。","failureType": " UserError"," target":" Azure
Function1" }

我不确定自AF成功运行以来该怎么做。我检查了应用洞察中的日志,一切似乎都完全正常。该文件的创建完全符合
我的预期。

还有其他人有类似的经历吗? 

Has anyone else had a similar experience? 

如果有帮助,我可以发布更多信息。

I can post more information if it would help.

推荐答案

Azure函数的返回类型必须是有效的JObject。其他任何失败并引发通用用户错误"错误调用端点"。我建议您尝试将
更改为返回类型。


这篇关于数据工厂中的Azure功能 - 调用端点时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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