Instagram error 2207026: unsupported video format
Instagram error 2207026, returned with code 352, means Meta could not accept the video because its format is not one Instagram supports. The fix Meta gives is to upload an MOV or MP4 file, and its video specification also sets what is inside: H.264 or HEVC video, AAC audio, 23 to 60 frames per second and the moov atom at the front.
easyCoexistence publishes Reels, Story videos and carousels with publish_instagram_post from Claude, ChatGPT or your own code.
The error code returned with subcode 2207026, for a video format Instagram does not support.
The containers Meta's fix for this error names, MP4 meaning MPEG-4 Part 14.
Frames per second a Reel or Story video can run at, with H.264 or HEVC video and AAC audio.
Largest Reel file, at 3 seconds to 15 minutes; a Story video goes up to 100 MB and 60 seconds.
What does error 2207026 mean?
Meta could not process the video because of its format. The response is HTTP 400 with code 352 and subcode 2207026, and its user message begins: The video format is not supported. It is about the file rather than the request, so sending the same file again returns the same error until the video itself changes.
What does Meta's video specification require?
Meta's fix for this error is an MOV or MP4 file, and it points to the full video specification, which also covers what is inside the file:
- Container: MOV or MP4 (MPEG-4 Part 14), with no edit lists and the moov atom at the front of the file.
- Video: H.264 or HEVC, progressive scan, closed GOP, 4:2:0 chroma subsampling, 23 to 60 frames per second, up to 1920 pixels wide and 25 Mbps.
- Audio: AAC, up to 48 kHz, mono or stereo, at 128 kbps.
- Reels: 3 seconds to 15 minutes, up to 300 MB. Story videos: 3 to 60 seconds, up to 100 MB.
How do you fix it?
Re-encode the file to MP4 with H.264 video and AAC audio, host the new file at a public URL and create a new container from it. A WebM, AVI or MKV file always needs converting, and for an MOV or MP4, check the codecs and frame rate against the specification as well as the extension. This FFmpeg command covers the main points: H.264 in 4:2:0, 30 frames per second, at most 1920 pixels wide, AAC at 48 kHz, the moov atom first and no edit list.
ffmpeg -i input.mov \
-c:v libx264 -pix_fmt yuv420p -r 30 \
-vf "scale='min(1920,iw)':-2" -maxrate 25M -bufsize 25M \
-c:a aac -ar 48000 -b:a 128k \
-movflags +faststart -use_editlist 0 \
output.mp4When does the error show up?
It can arrive after the container already exists. Meta's reference notes that video uploads are asynchronous, so receiving a container ID does not prove the upload worked. Check the container's status_code: FINISHED means the video is ready to publish, and ERROR means processing failed, in which case Meta says the container's status field holds the error subcode.
Common mistakes
- Renaming a file to .mp4. Changing the extension does not change the container or the codecs inside, so the file still has to be re-encoded.
- Publishing a browser recording as it is. Browsers often record WebM, which has to be converted to MP4 first.
- Leaving the moov atom at the end of the file. Meta's specification asks for it at the front, which FFmpeg's -movflags +faststart does.
- Retrying the same file. A format error is not temporary, so the same video fails the same way however many times it is sent.
It waits while Instagram processes a video, finishes on its own if processing runs on, and stops with an error instead of publishing when the container ends in ERROR. US$ 9 to US$ 0.75 per connection per month, falling as you add connections, with the first 3 days free.
easyCoexistence is a multichannel API and MCP server that connects AI agents such as Claude and ChatGPT to WhatsApp, Instagram, TikTok, Facebook and more. On WhatsApp it uses Coexistence: the business keeps using its number in the WhatsApp Business app while the AI works through Meta's official API.
Frequently asked questions
Which video formats does the Instagram API accept?
MOV and MP4 (MPEG-4 Part 14), with H.264 or HEVC video and AAC audio. WebM, AVI and other containers have to be converted first.
Why does an MP4 file still fail with 2207026?
The extension is only part of the format. Meta's specification also sets the codecs, frame rate, chroma subsampling and where the moov atom sits, so re-encode the file rather than trusting its name.
Is HEVC supported?
Yes. Meta's video specification lists HEVC alongside H.264, with progressive scan and 4:2:0 chroma subsampling.
Should I retry error 2207026?
No. The file is the problem, so a retry sends the same format back. Re-encode it, host the new file at a public URL and create a new container.
Keep reading
Connect your first channel in two minutes.
No platform reviews to wait for. Connect WhatsApp, Instagram, TikTok or another channel, then ask your AI to post, reply or report, and watch it work.
- 3 days free
- Cancel any time
- Official APIs only
- Monitored 24/7
Verified on