Hey Powerusers,
I've been running an MS flow for about the past 2 months, posting anywhere between 1 to 10 tweets a day. Recently, as of Oct 22nd, I'm beginning to see these flows fail. The body response and status code are as follows:
{ "status": 429, "message": "This operation is rate limited by Twitter. Follow Twitter guidelines as given here: https://dev.twitter.com/rest/public/rate-limits.\r\nclientRequestId: dd21f737-b2ef-4819-89a5-1c45e8ddf855\r\nserviceRequestId: 8c38789158d886e033111b0c63d5f1e6;243256cb86dbefa9c4841312b919076a", "source": "twitter-ce.azconn-ce.p.azurewebsites.net" }
I've done research on the Twitter API regarding rate limits on posts, and I cannot find anything specific related to MS Flow, or its rate limit time interval. The closest I found was this: https://developer.twitter.com/en/docs/basics/rate-limiting.html and https://twittercommunity.com/t/rate-limit-for-post-statuses-update/31411 where a Twitter Staff member mentions that its 2,400 tweets per day, broken down into 15 minute intervals.
We're coming nowhere near close to this limit, at best we post 2 tweets every 15 minutes but its usually 1 an hour.
Could this be an issue related specifically to the MS Flow Twitter connector? Why suddenly are we running into this issue after several months of this working in production?
Thanks in advance for your help,
Tom
Hi @tthompsonesri,
First check the details and limitations of the Twitter connector:
https://docs.microsoft.com/en-us/connectors/twitter/
The following are some of the limits and restrictions:
Also, could you share all the screenshots of your Flow configuration?
I wonder if the configuration of the relevant action did not meet expectations or there were steps that could be improved.
Since the status code is displayed as 429, indicating that the request is too much or too frequent, you may try to configure Delay action in the previous or next step of the Post a tweet action. This will lengthen the interval between requests.
Please take a try and provide more details.
Best Regards,
Barry
Hi Barry,
Since I've began running into this problem, I've started testing back in my development account. This uses an entirely different MS Flow and Twitter account, and I also experience this issue.
Here is the flow details (prior to implementing any suggestions you've made):
Each of those 'Appy to Each' for loops only ever loop once. I'm forced to use these loops by MS flow because I'm passing array objects into a tool. Those arrays only contain an individual member.
Thanks for your help,
Tom
I am getting the same error message:
{ "status": 429, "message": "This operation is rate limited by Twitter. Follow Twitter guidelines as given here: https://dev.twitter.com/rest/public/rate-limits"... }
I have been doing this Flow for about 3-4 months and it just started failing last week. I haven't changed anything in this Flow in a long time.
Can anyone on the product team confirm whether any changes have been released which may have affected this connector?
Thanks!
Sean
The twitter connector has the following limits:
Have you checked that you are not exceeding any of these limits?
https://docs.microsoft.com/en-us/connectors/twitter/
Hi @Pieter_Veenstra,
Thanks for the reply, below are what we're approximately running through the twitter connector. Its pretty minimal overall compared to what I've read others pushing through the connector.
I can't think of anything in my flow which would cause rate limiting. I suspect that it may be that the source of the POST being 'twitter-ce.azconn-ce.p.azurewebsites.net' may be rate limited, as in all posted tweets from that source.
I wonder if @seanpanter also has the same source in his error message.
Thanks again for your help,
Tom
I've been using the twitter connector in a similar way but I haven't seen any issues like this. How many tweets are you sending out in a full day? I wonder if there is somethign else that you are hitting. Whcih tiwttrer handle are you sending message out from?
In a given day, in production, we've sent at most 8 tweets through MS flow.
The development twitter I've replicated this with is https://twitter.com/TheButum. You'll see about 3 months of testing history. Yesterday the error occured after a single twitter post.
I'm quite suprised that you managed to get those identical tweets out. I'm quite sure that they fail.
I got the same last week when I sent the same tweet out twice.
I've had no problems submitting identical tweets in the past. That may explain why I'm seeing this error in development as of recently as I test the flow using previously run tests containing the same information. I will test triggering the flow without identical information to see the results I get.
It doesn't explain why we see this problem in production as the tweets are different (though similar). Our production twitter has users posting manually when the tweets fail through MS flow as well as other tweets/media, so it wont be of much use for you to see it.
Just tried to run the flow with new data from my development account. It's been a day since I last was able to post a tweet, 24 hours almost exactly. Same error, different source:
{ "status": 429, "message": "This operation is rate limited by Twitter. Follow Twitter guidelines as given here: https://dev.twitter.com/rest/public/rate-limits.\r\nclientRequestId: 0a5d85d7-51d4-4203-b6fb-be261e75ce90\r\nserviceRequestId: affa3cdc459b81e52ab9994cafd36a02;9da37943bb38f616cec8867b5ae1e36b", "source": "twitter-eus2.azconn-eus2.p.azurewebsites.net" }
I'm going to test some more simplified flows today, without the For Each loops.
If I can replicate with only a single trigger and a tweet, than I'll be really puzzled. I'll let you know what I'm able to find.
For what its worth @Pieter_Veenstra, your rate limiting error may be a false positive. The error I recieve when submitting duplicate posts is much more specific. You may want to investigate that further on your end, below is the error I recieve:
{ "status": 403, "message": "You cannot post the same tweet twice.\r\nclientRequestId: 45068f55-4a36-40ae-b9e7-3dca0509c3ea\r\nserviceRequestId: a8ef7f779f39ef80099669571b9a6470", "source": "twitter-eus2.azconn-eus2.p.azurewebsites.net" }
I did the same thing yesterday - removed all of the For Loops from the Flow to ensure that something wasn't happening with relation to the loops holding a connection open.
I still belive that something has changed.
Can anyone from the product team comment on the issue at all?
How are your flows behaving this morning? My simplified flow has worked without issues, but so has my full development and production flows with the embedded loops.
For this reason I can't determine if the simplified flow has resolved any problems.
Everything submitted through my flows, since about 18 hours ago, has been succeeding.
Getting the same eror.
Simple one tweet, from button press, worked yesterday. Is someone spamming?
{
"status": 429,
"message": "This operation is rate limited by Twitter. Follow Twitter guidelines as given here
"source": "twitter-we.azconn-we.p.azurewebsites.net"
}
Figured out my problem, had two users logged into the twitter account
@rpadmin can you describe how you were using these connections? Did you have multiple Flow Connections logged in with the same Twitter connection?
Thank you,
Sean
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
8 | |
5 | |
4 | |
3 | |
3 |