简体   繁体   English

Azure逻辑应用程序-Twitter连接器问题

[英]Azure Logic App - Twitter Connector Issues

I have a Logic App with Twitter connector and a Dropbox connector. 我有一个带有Twitter连接器和Dropbox连接器的Logic App。 The latter has repeater, which loops over the Twitter body and upload a text file in each iteration with Tweet_ID as file name. 后者具有转发器,该转发器遍历Twitter正文,并在每次迭代中上传一个文本文件,并以Tweet_ID作为文件名。 The Dropbox connector many times returns conflict errors, it seems Tweet connector keeps returning same tweets again and again, which had been already processed, which results in duplicate file names. Dropbox连接器多次返回冲突错误,似乎Tweet连接器会不断地返回相同的Tweet,这些Tweet已经被处理过,从而导致文件名重复。

When I look at the output of the Dropbox connector, below is the body it returns. 当我查看Dropbox连接器的输出时,下面是它返回的主体。

"body": {
                "status": 409,
                "source": "api-content.dropbox.com",
                 "message": "conflict_file"
         }

You have probably seen this page https://azure.microsoft.com/sv-se/documentation/articles/app-service-logic-use-logic-app-features/ where they show how to do this. 您可能已经看过此页面https://azure.microsoft.com/sv-se/documentation/articles/app-service-logic-use-logic-app-features/ ,其中显示了如何执行此操作。

Have you checked that you don't supply the same Tweet_ID several times? 您是否检查过几次不提供相同的Tweet_ID? The logic app json format it a bit tricky right now, with not so much documentation. 逻辑应用程序json格式现在有点棘手,没有太多文档。

/dag /达格

You are right. 你是对的。 The twitter connector doesn't "remember" the tweets that are returned from a search. twitter连接器不会“记住”搜索返回的推文。 It will return the same again. 它将再次返回相同的内容。 (Just to be clear. We are discussing the Twitter Connector Action Search Tweets.) (请明确说明。我们正在讨论Twitter Connector操作搜索推文。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM