X API

5 X API errors a retry will never fix (and the one it will)

By André Lug

Your post worked yesterday. Today X says no

Most X API errors on POST /2/tweets come back the same on every retry. These five need a fix, not a wait.

#5

401: X doesn't know who you are

Wrong, revoked or regenerated keys, or a bad OAuth 1.0a signature. Regenerate the keys and check the auth method.

#4

453: the wrong door

You called an endpoint outside your access, usually the old v1.1 statuses/update. Send posts to POST /2/tweets.

Only 429 and 5xx clear on their own

For a 429, wait for the time in x-rate-limit-reset. Posting allows 100 requests per 15 minutes per user.

#3

403: duplicate content

X rejects a post that repeats a recent one. Template posts that only change the numbers can look like duplicates too.

#2

403: a reply nobody asked for

Since February 23, 2026, self-serve apps can reply only when the original author mentioned or quoted your account.

#1

402: credits depleted

The pay-per-use balance behind your app is empty. The media upload still works because it is free. The post is not.

$0.20

per Post that contains a URL

A plain Post costs $0.015.

X API pricing, since April 20, 2026

First test: post it on x.com

If the same account can't post there either, it is an account problem for X Support. If it can, read the error type.

Read the full guide

More stories

See all stories