Skip to main content
When a request fails, the status code says what kind of problem it is. The body says what went wrong in plain words.
  • message is the first problem. It’s written for people, so you can show it in your app as it is.
  • errors lists every problem, each with a path to where it is, using the field names you send. ["posts", 1, "mediaIds", 0] is the first file of the second post. errors is null when there’s only the one message.

Status codes

Plan limits

Each plan includes a number of posts a month. A request that would go over it gets 403, and each item in errors has a code:
  • PLATFORM_LIMIT_REACHED: the limit for one platform, named in platform.
  • TOTAL_LIMIT_REACHED: the limit for all posts.
The message says how many posts are left and when the count starts again. Compare plans. A team without a plan can’t create posts. Those requests get 403 too, until an owner or admin picks a plan in Plan & billing.

Retrying safely

Reading is always safe to retry. Creating isn’t, because a request that timed out may still have worked. Before you send a create again, list your recent posts to check whether it went through. Otherwise the post could go out twice.