This error broke a lot of reply bots and engagement tools in 2026. It is a policy change at X, not a bug in your request, and no amount of re-authorising changes it.
The exact error
A POST /2/tweets with a reply.in_reply_to_tweet_id or a quote_tweet_id pointing at someone else's post answers HTTP 403 (body trimmed):
{
"detail": "You can only reply to or quote posts where you are mentioned or are the author",
"status": 403
}
What it means
Since February 2026, every X API tier below Enterprise can reply to or quote only two kinds of post:
- posts that mention the authenticated account, and
- posts the authenticated account wrote.
A cold reply, to a post that neither mentions you nor is yours, is refused. The same applies to quote posts.
The refusal happens before anything is published, so nothing partial goes out and there is nothing to clean up. The request itself is well formed: the same body sent as a reply to one of your own posts succeeds.
Why it happens
- Your app replies to trending posts, competitors' posts or search results.
- Your app quotes a post from another account to comment on it.
- An agent was asked to "reply to this post" with a link to a stranger's post.
What still works through the API: replies inside your own threads, replies to people who mentioned you, quotes of your own posts, and ordinary new posts. We confirmed the refusal was the only thing stopping our own replies: a search for our account's posts that day returned the day's other posts, and none in the target conversations.
How to fix it
- Check the target first. Before replying, confirm the post mentions your account or was written by it.
- Reply by hand on x.com for any post outside those two cases. There is no API route for it below Enterprise.
- Build engagement around mentions. Read your mentions and reply to those, which the API still allows.
- Turn quotes into new posts that link to the original, if the goal is to comment on it.
- Talk to X about Enterprise only if cold replies are core to your product.
How Hermoso handles it
Hermoso recognises this 403 and answers plainly: X only lets an app reply to or quote a post that mentions your account or that you wrote, nothing was posted, and your X connection is fine. It points you to x.com for that reply and notes that replies in your own threads and to people who tagged you work through Hermoso.
The rule is also written into the descriptions an AI agent reads before it calls the posting tool, so an agent can steer away from a cold reply before trying one. Hermoso's thread posting and mentions inbox were unaffected by the change. See the X scheduler and X API pricing.
Related
- X API 403: "Post edit failed due to authorization restrictions"
- X API Articles: 429 Too Many Requests on drafts and publishes
- X API pricing: what the Twitter API costs now
- X Ads API: INVALID_FUNDING_INSTRUMENT and FUNDING_INSTRUMENT_NOT_FOUND
Every platform error we have documented is on the error reference. For app reviews and access levels, see how to get API access.
Sources
Frequently asked questions
Can I reply to any post with the X API?
Not below the Enterprise tier. Since February 2026 you can only reply to or quote posts that mention your account or that your account wrote.
Do replies in my own threads still work?
Yes. Replies inside your own threads and replies to people who mentioned you are allowed.
Will reconnecting my X account fix this 403?
No. It is an X policy on what the API can do, not a problem with your connection.


