> For the complete documentation index, see [llms.txt](https://help.blotato.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.blotato.com/platforms/faqs.md).

# X (Twitter)

## Post failed: "You are not permitted to perform this action"

This error from X/Twitter has three common causes:

1. **Authorization expired** — Go to [Settings > Social Accounts](https://my.blotato.com/settings), find your X/Twitter account, and click Reconnect. Re-authorize the app, then retry your post.
2. **Account not warmed up** — If your X account is new, Twitter restricts API publishing until the account is established. Log into Twitter directly and post manually for 1-2 weeks before connecting Blotato. See: [Warm Up New Accounts](/settings/social-accounts.md)
3. **Identity verification required** — Log into your Twitter account directly. Twitter may prompt you to verify your phone number or email before allowing third-party app access. Complete any verification steps, then reconnect your account in Blotato and retry.

***

## I have X Premium -- why does my video fail with "This user is not allowed to post a video longer than 2 minutes"?

You are right that X Premium allows longer videos. The 2-minute limit you are hitting is not a hard publishing cap from X -- it is Blotato's video conversion cap.

Blotato re-encodes videos to match each platform's specs before uploading. That re-encoding step is capped at 2 minutes to keep processing fast, regardless of your X plan.

The fix: pre-encode your video to match X's spec exactly, so Blotato skips the conversion step and uploads the file as-is. Then X Premium's longer video limit applies.

For X (Twitter), encode your file with:

* Video codec: H.264
* Audio codec: AAC
* Container: MP4
* Aspect ratio: 16:9, 1:1, or 9:16
* Frame rate: 30 or 60 fps
* Max file size: 512MB

Full specs: [Social Platform Requirements](/tips-and-tricks/social-platform-requirements.md#twitter)

***

## My X post fails with "Unsupported media format: mov,mp4,m4a,3gp,3g2,mj2" but my file is an MP4. What is wrong?

The error text is misleading. Your file format is usually fine -- the real failure is most often that your video is too long for X.

X (Twitter) requires video duration between 0.5 seconds and 140 seconds. If your video does not match X's specs and Blotato has to convert it, the video must also be shorter than 120 seconds.

1. Check your video's length. If it is over 140 seconds (or over 120 seconds and needs conversion), trim it and retry
2. If the length is fine, pre-encode the file to X's exact spec (H.264 video, AAC audio, MP4 container) so it uploads without conversion
3. Retry the post from [Failed Posts](https://my.blotato.com/failed)

The same misleading error appears for LinkedIn posts. Check the duration and specs for your target platform first: [Social Platform Requirements](/tips-and-tricks/social-platform-requirements.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.blotato.com/platforms/faqs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
