Instagram API media errors and how to fix them
Checked against Meta's docs on 10 October 2026
When an agent publishes to Instagram through the Graph API, Instagram downloads the media from a URL. These are the errors that come from the file or that URL, as opposed to tokens, permissions or rate limits.
| Subcode | Code | Error |
|---|---|---|
2207052 | 9004 | Media could not be fetched from this URI |
2207009 | 36003 | Image aspect ratio cannot be published |
2207026 | 352 | Video format is not supported |
2207004 | 36000 | Image is too large to download |
2207005 | 36001 | Image format is not supported |
2207003 | -2 | It takes too long to download the media |
postcache hosts the file at a public URL, checks it against these rules before Instagram fetches it, and can convert it so it passes. See the API docs.
Source: Meta's Instagram Platform error codes.