X publishing delivers single text posts and multi-item threads over OAuth 2.0.
Direct X API create fees ($0.015 standard post, $0.200 post with URL) are
passed through at exact provider cost with $0 markup.
Common X errors
| Code / Symptom | Retryable | Cause | How to fix |
|---|---|---|---|
caption_too_long |
No | A post or thread item exceeds X’s 280-character limit. | Shorten the text or split the copy into multiple thread items. |
account_not_ready |
After reconnect | X OAuth 2.0 token expired or was revoked by the account owner. | Reconnect the X account in the PubNio workspace. Sibling targets on the same draft remain unaffected. |
empty_content |
No | Blank text submitted to an X text/thread target. | Provide non-empty post text. |
X duplicate post (403) |
No | X rejects identical post text submitted consecutively to the same account. | Confirm whether an earlier attempt already published via GET /api/v1/posts/{postId} before sending new copy. |
| Prepaid balance insufficient for X pass-through | After top-up | Workspace prepaid balance is below the X API create fee disclosed at preflight. | Add funds ($5 minimum) in workspace billing, then retry the failed X target. |