Duplicate Tweet
403: The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following). message - Status is a duplicate. code - 187
Recommendation:
Twitter doesn’t allow identical tweets. Change the content before posting.
Image Dimensions Invalid
400: The request was invalid. An accompanying error message will explain why. This is the status code will be returned during version 1.0 rate limiting (https://dev.twitter.com/pages/rate-limiting). In API v1.1, a request without authentication is considered invalid and you will get this response. message - Image dimensions must be >= 4x4 and <= 8192x8192 code - 324
Recommendation:
Ensure the image is between 4x4px and 8192x8192px. Replace oversized or undersized images.
Tweet Too Long
Twitter error: This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following). message - Tweet needs to be a bit shorter. code - 186
Recommendation:
Tweets cannot exceed 280 characters. Shorten the text and try again.
GIF Error
403: The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following). message - Error creating status. code - 189
Recommendation:
Non-animated GIFs may cause this error. Use an animated GIF or another supported image format.
Daily Tweet Limit Reached
403: The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following). message - User is over daily status update limit. code - 185
Recommendation:
You’ve reached the daily limit of 2,400 tweets. Wait for the limit to reset before posting again.
Video Too Long
Duration X.minutes+XX.seconds+XXX.milliseconds exceeds max duration of 2.minutes+20.seconds
Recommendation:
Twitter only allows videos up to 140 seconds. Trim your video and try uploading again.
Account Locked
Twitter error: This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following). message - To protect our users from spam and other malicious activity, this account is temporarily locked. Please log in to https://twitter.com to unlock your account. code - 326
Recommendation:
Twitter flagged your account. Log in to Twitter to unlock it or contact Twitter Support.
Empty Tweet
403: The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following). message - Missing required parameter: status. code - 170
Recommendation:
This happens when the tweet contains no text or emojis. Add content to the tweet.
Internal Twitter Error
500: Something is broken. Please post to the group (https://dev.twitter.com/docs/support) so the Twitter team can investigate. message - Internal error code - 131
Recommendation:
An internal error occurred on Twitter. Wait and try again later.
Invalid File Format
file is invalid
Recommendation:
The uploaded video or image is in an unsupported format. Check Twitter’s guidelines and upload a supported file.
Media Attachment Limit Exceeded
Twitter error: This is the status code will be returned during version 1.0 rate limiting (https://dev.twitter.com/pages/rate-limiting). In API v1.1, a request without authentication is considered invalid and you will get this response. message - Tweet with media must have exactly 1 gif or video or up to 4 photos. code - 324
Recommendation:
You can attach up to 4 photos, 1 animated GIF, or 1 video to a tweet. Remove any extra media to comply with this limit.