Guides / Troubleshooting

Fixing X API 429 Too Many Requests When Posting

A 429 when posting means X is rate limiting you: you sent too many create-post requests in a window. Stop sending, wait for the reset time, then retry with backoff and spread your posts out.

Quick steps

  1. Stop and read the response. Pause sending for that user and log the status code, body and rate-limit headers, including the reset time.
  2. Identify the scope. Check whether only one user fails (per-user limit) or all users fail together (app cap), using your own call counts.
  3. Look for other senders. Find old scripts, staging servers or tests using the same app keys, and rotate keys if you cannot account for them.
  4. Wait, then back off. Wait until the reset time, or use exponential backoff with jitter, capped at about 15 minutes and about five attempts.
  5. Add a rate gate and queue. Put a durable queue with a token bucket before the create-post call so posts wait instead of failing.
  6. Stagger the schedule. Pick posting windows, then add random offsets so users are not all sent at the same minute.
  7. Confirm before retrying. Check whether the post went live and store the returned post ID so a retry never creates a duplicate.
  8. Verify limits and billing. Confirm the current limits and pricing in the X developer documentation, since reported figures can change.

What a 429 means when you create a post

HTTP 429 means X is telling your client to slow down. The request was understood, but you sent too many of that kind within a time window, so the server refused it. That is different from a 403, which usually means the content or permissions were refused, and from a 401, which points to an expired or revoked token. Treat the three differently: a 429 is almost always fixed by timing, not by editing the post text.

On the create-post endpoint a 429 usually comes from one of three situations. A loop or queue fires posts faster than the limit allows. Several users of your app post at once and fill the app-wide cap. Or failed calls are re-sent immediately, which makes the problem worse. If you see a 403 about duplicate text instead, read X API 403 forbidden when creating a post, because backing off will not fix that.

The limits reported for creating posts

Create-post limits are reported at about 100 posts per 15 minutes per user and 10,000 posts per 24 hours per app. These figures are reported consistently by third-party sources, not read by us on an official page, so confirm them in the X developer documentation and your developer console before you build around them. Limits can change, and different endpoints have different ones.

Do the arithmetic for your own setup. 100 posts in 15 minutes is one post every 9 seconds (900 seconds divided by 100). 10,000 posts in 24 hours is roughly 6.9 posts a minute (10,000 divided by 1,440), shared by every user of your app. One account rarely reaches the user limit with normal posting. A multi-user app can hit the app cap quickly if every queue flushes at the top of the hour.

Cost matters too. Since 6 February 2026 the X API v2 is reported to be pay-per-use with prepaid credits: about $0.015 for a plain post and about $0.20 for a post containing a URL. The old free tier of 500 posts a month is reported to have closed to new developers on that date. Confirm current prices on the platform. A retry bug that resends posts is therefore both a rate-limit problem and a billing problem.

Work out which limit you hit

Start with the response. Log the status code, the body and the headers on every call, not only the failures. X rate-limit responses commonly carry headers such as x-rate-limit-limit, x-rate-limit-remaining and x-rate-limit-reset, where reset is a Unix timestamp for when the window reopens. Check the exact header names in the current documentation, then make your code read them instead of guessing a delay.

Next, decide the scope. If one user gets 429s while other users post normally, you are hitting the per-user limit. If every user fails at the same moment, you are hitting the app cap. Count create-post calls per user over the last 15 minutes and per app over the last 24 hours from your own logs, and compare them with the limits you confirmed.

Finally, rule out hidden senders. If the first post of the day returns 429, something else may be using the same app keys: an old script, a staging environment, a second scheduler or a teammate's test. They all share the app limit. If you cannot identify every sender, regenerate the keys and update only the services you recognise.

Back off the right way

When you receive a 429, stop sending for that scope and wait until the reset time in the header. If there is no header, use exponential backoff: wait 1 second, then 2, 4, 8 and so on, up to a cap such as 15 minutes, which matches the reported user window. Do not retry in a tight loop. Every immediate retry is another request counted against the same window.

Add jitter, a small random amount on top of each delay. Without it, fifty workers that failed at the same second all retry at the same second and trigger the next 429 together. Also cap the number of attempts. After about five, park the post in the queue with a visible rate-limited status and alert yourself, rather than retrying forever in the background.

Pause at the right level. A per-user 429 should pause only that user's queue, so everyone else keeps posting. An app-level 429 should pause the shared sender for all users. Keep the queue in durable storage, not memory, so scheduled posts survive a restart and are not lost or sent twice when the process comes back.

Spread your posts instead of bursting

The best fix is not to reach the limit at all. Put a rate gate in front of the create-post call, for example a token bucket that allows a modest number of posts per minute per user, well below the 100 per 15 minutes you are reported to get. Posts wait in the queue instead of failing. A steady trickle is also easier to monitor than bursts.

Avoid round times. If every user is scheduled for 09:00, your app sends them all at 09:00. Use the free best time checker to choose a window, then add a random offset inside it. Remember that threads are separate calls: a 10-post thread uses 10 of your per-user allowance, and the free thread splitter helps you see the real post count before you send.

For the app-wide cap, budget it. Divide the reported 10,000 per day by your active users and keep a margin. Apply fair sharing so one heavy user cannot starve the rest. When the budget runs low, delay low-priority posts to the next window rather than letting the cap decide for you.

Retry safely without duplicates or wasted spend

Before retrying after a timeout or a server error, check whether the post actually went live. Otherwise you can publish twice. X rejects identical text with a 403, so a duplicate usually fails, but that error can hide the fact that your first attempt worked. Store the post ID X returns against each queue item and mark the item done the moment you have it.

Only retry what is retryable. A 429 and a temporary server error deserve a delayed retry. A 401 or a 403 after you changed settings usually means the access token was revoked or expired, so the account must be reconnected; waiting will not help. If you queue posts in X's own composer and they never appear, see scheduled post not posting on X.

Check the billing documentation for how failed or rate-limited calls are treated instead of assuming they are free. With a reported price of about $0.20 for a post containing a URL, a loop that resends link posts adds up faster than one that resends plain text. Alert on unusual call volume so a runaway job is caught in minutes, not at the end of the month.

If you are not building an app

If you see a 429 inside a third-party tool and you are not a developer, the tool is hitting the limit on your behalf. Lower the number of posts per day, spread them across the day and avoid queuing a burst at one time. For posts you write yourself, X's own composer can schedule them without any API; the steps are in how to schedule posts on X. Scheduling is reported to work on web and mobile, so confirm in your app.

AutoPostMode is not an API you code against, and it is not a scheduler for posts you write from scratch. It is an AI autopilot for X and LinkedIn: it researches fresh articles from the last 24 hours in up to 5 niches, writes a separate post per network in your tone, has an AI judge score each draft out of 20 (pass mark 14), and publishes at your times. Its caps are 10 posts a day on X Basic and 12 on Pro, far below the reported per-user limit.

It starts in Approve mode, so you approve, edit or skip every post before it goes out, and you can switch an account to Auto later. On X, a normal post uses 1 credit and a post with a link uses 12, charged only when X confirms the post is live. If you want to write every post yourself or run your own code, use native scheduling or build the queue described above.

Questions

How many posts can I create before X returns 429?
Create-post limits are reported at about 100 per 15 minutes per user and 10,000 per 24 hours per app. These numbers come from third-party sources, so confirm them in the X developer documentation and your console. Limits can differ by endpoint and can change, so read the rate-limit headers on real responses instead of hard-coding a number.

How long should I wait after a 429?
Wait until the reset time given in the response headers, which is the most accurate answer. If no reset header is present, use exponential backoff with jitter, starting at a second or two and capping around 15 minutes, which matches the reported per-user window. Do not retry immediately, since each retry counts against the same limit.

Is a 429 the same as a 403 duplicate error?
No. A 429 means you sent too many requests and should slow down. A 403 can mean X rejected the content, for example duplicate text, or that permissions or the token are the problem. Backoff fixes a 429 but not a duplicate 403. Change the text for a duplicate, or reconnect the account if the token was revoked.

Will upgrading or paying more remove the 429?
Do not assume so. X API access is reported to be pay-per-use with prepaid credits since 6 February 2026, and the create-post rate limits are reported separately from price. Check the current limits and billing documentation on the platform. Spreading posts and backing off is the dependable fix regardless of plan.

Can AutoPostMode help if my own code gets 429s?
Not directly. AutoPostMode is an AI autopilot that researches articles, writes X and LinkedIn posts in your tone and publishes at your times. It is not an API for your code or a scheduler for posts you write yourself. Its caps of 10 to 12 posts a day per X account sit well under the reported limits.

Facts and prices checked 30 November 2026. Platform rules and vendor plans change, so confirm on the platform or vendor site before you rely on a limit or price.

Disclosure: AutoPostMode is our product. More guides: X API 403 Forbidden when creating a post: how to fix it, Scheduled Post Not Posting on X? Diagnose It Step by Step, LinkedIn scheduled post not posting or missing: the checklist, Threads Scheduled Post Not Posting? A Step-by-Step Checklist, Scheduler Says Your X Account Is Disconnected: How to Reconnect. All troubleshooting.

Try it on your own account

3-day free trial on 1 X account.

Start your free trial