Basics
Errors
Every error has the same shape. field names the input on a 422; some errors add feature, reason or post_ids.
{ "error": { "code": "validation_failed", "message": "…", "field": "scheduled_at" } }| HTTP | Code | Meaning |
|---|---|---|
| 400 | bad_request | Malformed JSON, a body over 100,000 bytes, or a bad Idempotency-Key. |
| 401 | unauthorized | Missing, unknown, revoked or expired key, or its owner left the workspace. |
| 403 | insufficient_scope | The key lacks this endpoint's scope. |
| 403 | forbidden | The key owner's role can't do this (channel settings, posting times and approvals are for owners and admins). |
| 403 | plan_required | The plan doesn't include the API, or (with feature) this feature. |
| 404 | not_found | No such resource in the key's workspace, or no such endpoint. |
| 405 | method_not_allowed | The path exists, but not for this method; see the Allow header. |
| 409 | conflict | The post's state doesn't allow it, or the same idempotent request is still running. With reason workspace_held, the workspace is read-only on the Free plan and no article is queued in it. |
| 409 | channel_held | The channel is on hold beyond the plan's limits (after a downgrade or an account handover) and takes no new or scheduled posts. With reason workspace_held, the whole workspace is read-only on the Free plan, so none of its channels takes one; drafts still work. |
| 422 | validation_failed | Validation failed; field names the input. |
| 424 | upstream_failed | The social network refused or didn't confirm a reply; nothing was recorded. |
| 429 | rate_limited | Rate limit reached; wait for Retry-After seconds. |
| 500 | internal_error | Something failed on Pombo's side; nothing was posted. |