Log inStart Free Trial
easyCoexistence Official APIs

Instagram error 2207042: maximum number of posts reached

Instagram error 2207042, returned with code 9, means the account has published as many posts through the API as Meta allows in a moving 24-hour period: 100, according to Meta's publishing guide, with a carousel counting as one. Meta's advice is to try again the next day, and the content_publishing_limit endpoint shows how much of the quota is used.

easyCoexistence publishes to Instagram with publish_instagram_post from Claude, ChatGPT or your own code.

9

The error code returned with subcode 2207042, when the account has reached its daily publishing limit.

100

API-published posts an account can make in a 24-hour moving period, per Meta's content publishing guide.

1 post

What a carousel counts as against the publishing limit, however many items it holds.

50

The quota_total that the content_publishing_limit reference still gives as current, against 100 in the guide.

What does error 2207042 mean?

The account has used up its publishing quota for now. Meta's user message reads: You reached maximum number of posts that is allowed to be published by Content Publishing API. The limit is enforced on POST /<IG_ID>/media_publish, so the error appears at the moment a container is published, not when it is created.

Meta's recommended fix is to try again the following day. Because the period moves rather than resetting at midnight, room opens up as the posts published 24 hours earlier leave it.

How many posts does the limit allow?

Meta's content publishing guide sets it at 100 API-published posts within a 24-hour moving period, with a carousel counting as a single post. Other parts of Meta's documentation still say 50, including the guide's own carousel section, the media_publish reference and content_publishing_limit, which describes its quota_total as currently 50. Rather than relying on either figure, read the quota the endpoint returns for the account.

How do you check how much of the quota is used?

Call GET /<IG_ID>/content_publishing_limit. Without fields it returns quota_usage, the number of containers the account has published in the last 24 hours. Ask for fields=quota_usage,config to get quota_total, the most the account can publish in the period, and quota_duration, the period in seconds. A since parameter, a Unix timestamp no older than 24 hours, counts from that moment instead.

Reading the account's publishing quota
curl "https://graph.instagram.com/<IG_ID>/content_publishing_limit?fields=quota_usage,config&access_token=<ACCESS_TOKEN>"

{
  "data": [
    {
      "quota_usage": <POSTS_IN_THE_LAST_24_HOURS>,
      "config": { "quota_total": <QUOTA_TOTAL>, "quota_duration": 86400 }
    }
  ]
}

How do you avoid hitting it?

Count before publishing. Meta recommends that apps enforce the publishing limit themselves, especially apps that let people schedule posts, since a queue can release more posts in one stretch than the account has room for. Check quota_usage before each publish, spread scheduled posts across the day, and group related photos into a carousel, which uses one post instead of several.

Common mistakes

  • Retrying in a loop. Each call fails the same way until room opens up, so check quota_usage before trying again.
  • Counting by calendar day. The period is a moving 24 hours, so a post from yesterday evening can still count this morning.
  • Creating new containers after the error. A finished container stays usable for 24 hours from its creation, so publish the same one once there is room.
  • Splitting a set of photos into separate posts. A carousel counts once toward the limit, whatever the number of photos in it.
Doing this with EasyCoexistence

When the account reaches Meta's 24-hour cap, the post waits and is tried again after 5 minutes, 30 minutes and 2 hours, and the owner is emailed if it still cannot go out. 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

How many posts can an Instagram account publish through the API per day?

Meta's content publishing guide says 100 in a moving 24 hours, with a carousel counting as one. Read quota_total from content_publishing_limit for the account's own figure.

When can I publish again after error 2207042?

When posts from 24 hours earlier leave the moving period and free up room. Meta's own advice is simply to try again the following day.

Do posts made in the Instagram app count?

No. The limit Meta describes is on API-published posts, and quota_usage counts containers published through the API, so posts made directly in the app fall outside that count.

Does creating a container count toward the limit?

No. The limit applies when a container is published. Creating containers has a ceiling of its own: 400 per account in a rolling 24 hours.

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