Log inStart Free Trial
easyCoexistence Official APIs

Instagram error 2207009: image aspect ratio not supported

Instagram error 2207009, returned with code 36003, means the image's aspect ratio falls outside the range Instagram accepts for feed photos: from 4:5, the tallest, to 1.91:1, the widest. Divide the width by the height; the result has to sit between 0.8 and 1.91. Crop or pad the image into that range and create the container again.

easyCoexistence publishes photos, carousels and Stories with publish_instagram_post from Claude, ChatGPT or your own code.

36003

The error code returned with subcode 2207009, for an image whose aspect ratio is outside the accepted range.

4:5 to 1.91:1

The range of aspect ratios an image must fall within to be published through the API.

320 to 1440

Image widths in pixels Instagram keeps; narrower images are scaled up and wider ones scaled down.

1:1

Default crop for carousel images, which all follow the aspect ratio of the first image.

What does error 2207009 mean?

The image's shape is outside the range Instagram publishes. Meta's user message reports the ratio it measured and asks for an image with a valid aspect ratio, and its recommended fix is to try again with an image between 4:5 and 1.91:1.

The error concerns the proportions alone, so the same image fails again until it is cropped or padded into the range.

Which image sizes pass?

Divide the width by the height. Anything from 0.8, which is 4:5 portrait, to 1.91, a wide landscape, is inside the range; below 0.8 is too tall and above 1.91 too wide. These common sizes show where the edges fall:

1080 × 10801:1 square. Inside the range.
1080 × 13504:5 portrait. The tallest a feed photo can be.
1080 × 5661.91:1 landscape. The widest a feed photo can be.
1920 × 108016:9, or 1.78. Inside the range.
1080 × 19209:16, or 0.56. Too tall for the feed, and the shape Meta recommends for Stories.

How do you fix it?

Change the proportions. Width alone never causes this error, since Instagram scales images below 320 or above 1440 pixels wide on its own, and resizing keeps the ratio, so a resized image fails again. Crop the image into the range, which cuts part of the picture, or pad it onto a 4:5 or square canvas, which keeps all of it. A 9:16 image becomes 1080 × 1350 by trimming top and bottom, or fits whole on a 1080 × 1350 canvas with bars at the sides.

Does the range apply to carousels and Stories?

To carousels, yes: each image follows the same rules, and Instagram also crops every image in a carousel to the aspect ratio of the first one, 1:1 by default. For Stories, Meta's image specification sets no range and recommends 9:16 to avoid cropping or blank space. Reels follow the video specification instead, which accepts anything from 0.01:1 to 10:1.

Common mistakes

  • Resizing instead of cropping. Scaling keeps the ratio, so a 1080 × 1920 image shrunk to 540 × 960 fails the same way.
  • Publishing a Story-shaped image as a feed photo. A 9:16 image suits a Story but sits outside the range for the feed.
  • Rounding near the edges. 1080 × 1352 works out at 0.799, just under 4:5, so check the exported file's real dimensions.
  • Checking only the first carousel image. The others must be in range too, and all of them are cropped to the first one's shape.
Doing this with EasyCoexistence

The image goes to Meta as you supply it, and when Instagram refuses its shape, the tool returns Meta's message, which gives the ratio it measured, so your AI can tell you what to change. 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

What aspect ratio does the Instagram API accept for photos?

Anything from 4:5 to 1.91:1. Divided by the height, the width must come to between 0.8 and 1.91.

Can a 9:16 image be published to the feed?

No. At 0.56 it is too tall for a feed photo, so crop or pad it to 4:5 first. As a Story, the same image is the shape Meta recommends.

Is the image too big?

Not for this error. Instagram scales widths outside 320 to 1440 pixels itself, and 2207009 is about the shape alone; a file over 8 MB returns a different error, 2207004.

Do all carousel images need the same shape?

Not to publish, but Instagram crops every image in a carousel to the first one's aspect ratio, so give the first image the shape you want for the whole post.

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