Error codesUpdated
Social media API error codes, by network
Social media API error codes are what a network sends back when it refuses a request: Instagram's 2207042, X's 402 CreditsDepleted, LinkedIn's 426. This page lists 147 of them from 14 networks, each with the network's own message, a plain name and a retry verdict. Filter by network, or by whether a retry can work.
The list is generated from the error references in Siar, a unified social media API that relays these errors to its users, so it changes when the code does. These are the codes Siar has documented, not every code each network can return. Each row links to the full meaning and fix.
Every code, by network
147 codes.
| Network | Code | Message from the network | Plain name | Retry verdict | Link |
|---|---|---|---|---|---|
190 | Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons. | Access token expired or revoked | Not retryable | Meaning and fix | |
4 | (#4) Application request limit reached | App rate limit reached | Retryable | Meaning and fix | |
17 | (#17) User request limit reached | User rate limit reached | Retryable | Meaning and fix | |
32 | (#32) Page request limit reached | Page rate limit reached | Retryable | Meaning and fix | |
613 | (#613) Calls to this api have exceeded the rate limit. | Endpoint rate limit reached | Retryable | Meaning and fix | |
10 | (#10) Application does not have permission for this action | Permission not granted | Not retryable | Meaning and fix | |
200 | (#200) Requires either publish_to_groups permission and app being installed in the group, or manage_pages and publish_pages as an admin | Missing Page role or permission | Not retryable | Meaning and fix | |
100 | (#100) Invalid parameter | Invalid or missing parameter | Not retryable | Meaning and fix | |
368 | The action attempted has been deemed abusive or is otherwise disallowed | Action blocked as abusive | Not retryable | Meaning and fix | |
506 | (#506) Duplicate status message | Same text just posted to this Page | Not retryable | Meaning and fix | |
2018278 | (#10) This message is sent outside of allowed window. | Outside the 24-hour messaging window | Not retryable | Meaning and fix | |
551 | This person isn't available right now. | Recipient not available | Not retryable | Meaning and fix | |
190 | Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons. | Access token expired or revoked | Not retryable | Meaning and fix | |
4 | (#4) Application request limit reached | App rate limit reached | Retryable | Meaning and fix | |
10 | (#10) Application does not have permission for this action | Permission not granted | Not retryable | Meaning and fix | |
100 | (#100) Invalid parameter | Invalid or missing parameter | Not retryable | Meaning and fix | |
9004 | Only photo or video can be accepted as media type. | Media could not be read | Not retryable | Meaning and fix | |
36003 | The aspect ratio is not supported. | Image aspect ratio not supported | Not retryable | Meaning and fix | |
9007 | Media ID is not available | Media still processing | Retryable | Meaning and fix | |
2207042 | You reached maximum number of posts that is allowed to be published by Content Publishing API. | 24-hour publishing limit reached | Retryable | Meaning and fix | |
2018278 | (#10) This message is sent outside of allowed window. | Outside the 24-hour messaging window | Not retryable | Meaning and fix | |
551 | This person isn't available right now. | Recipient not available | Not retryable | Meaning and fix | |
| Threads | 190 | Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons. | Access token expired or revoked | Not retryable | Meaning and fix |
| Threads | 4 | (#4) Application request limit reached | App rate limit reached | Retryable | Meaning and fix |
| Threads | 10 | (#10) Application does not have permission for this action | Permission not granted | Not retryable | Meaning and fix |
| Threads | 100 | (#100) Invalid parameter | Invalid or missing parameter | Not retryable | Meaning and fix |
| Threads | 368 | The action attempted has been deemed abusive or is otherwise disallowed | Action blocked as abusive | Not retryable | Meaning and fix |
| Threads | 9004 | Only photo or video can be accepted as media type. | Media could not be read | Not retryable | Meaning and fix |
| Threads | 9007 | Media ID is not available | Media still processing | Retryable | Meaning and fix |
| Threads | THREADS_API__LINK_LIMIT_EXCEEDED | THREADS_API__LINK_LIMIT_EXCEEDED | More than 5 links in one post | Not retryable | Meaning and fix |
| X (Twitter) | 401 | Unauthorized | Access token expired or revoked | Not retryable | Meaning and fix |
| X (Twitter) | 402 CreditsDepleted | Your enrolled account does not have any credits to fulfill this request. | X API credit used up | Not retryable | Meaning and fix |
| X (Twitter) | 403 duplicate | You are not allowed to create a Tweet with duplicate content. | Same text posted recently | Not retryable | Meaning and fix |
| X (Twitter) | 403 reply | Reply to this Tweet is not allowed because you have not been mentioned or otherwise engaged by the author of the Tweet you are replying to. | Reply not allowed to this post | Not retryable | Meaning and fix |
| X (Twitter) | 403 video | This user is not allowed to post a video longer than 20 minutes. | Video too long for this account | Not retryable | Meaning and fix |
| X (Twitter) | 403 too long | Your Tweet text is too long. | Text over 280 characters | Not retryable | Meaning and fix |
| X (Twitter) | 403 client-not-enrolled | Client Forbidden | X app not attached to a project | Not retryable | Meaning and fix |
| X (Twitter) | 403 quote | Quoting is not available on this access tier. | Quoting not on this access tier | Not retryable | Meaning and fix |
| X (Twitter) | 400 invalid-request | One or more parameters to your request was invalid. | A field failed X validation | Not retryable | Meaning and fix |
| X (Twitter) | 400 media | Your media IDs are invalid. | Media id expired or failed | Not retryable | Meaning and fix |
| X (Twitter) | 404 | Could not find tweet with id. | Post not found | Not retryable | Meaning and fix |
| X (Twitter) | 429 | Too Many Requests | Rate limit reached | Retryable | Meaning and fix |
| X (Twitter) | 503 | Service Unavailable | X is overloaded | Retryable | Meaning and fix |
401 65601 | The token used in the request has been revoked by the user. | Token revoked or expired | Not retryable | Meaning and fix | |
403 ACCESS_DENIED | Not enough permissions to access: partnerApiPostsExternal.CREATE | Missing scope or product access | Not retryable | Meaning and fix | |
422 duplicate | Content is a duplicate of urn:li:share:… | Same text posted recently | Not retryable | Meaning and fix | |
422 empty | Content cannot be empty | Post has no text | Not retryable | Meaning and fix | |
429 | Resource level throttle APPLICATION DAY limit for calls to this resource is reached. | Daily app limit reached | Retryable | Meaning and fix | |
426 NONEXISTENT_VERSION | Requested version 20230101 is not active | API version retired | Not retryable | Meaning and fix | |
400 media | Media asset urn:li:image:… is not available. | Media not available | Not retryable | Meaning and fix | |
400 commentary | Unpermitted fields present in REQUEST_BODY | Field combination not allowed | Not retryable | Meaning and fix | |
404 | Not Found | Post or comment not found | Not retryable | Meaning and fix | |
truncated text | (no error — the post is cut off at the first unescaped ( or [ ) | Text cut off at ( or [ | Not retryable | Meaning and fix | |
| Bluesky | AuthenticationRequired | Invalid identifier or password | Wrong handle or app password | Not retryable | Meaning and fix |
| Bluesky | ExpiredToken | Token has expired | Session expired and could not refresh | Not retryable | Meaning and fix |
| Bluesky | AccountTakedown | Account has been taken down | Account taken down | Not retryable | Meaning and fix |
| Bluesky | InvalidRequest | Record/text must not be longer than 300 graphemes | Text over 300 graphemes | Not retryable | Meaning and fix |
| Bluesky | BlobTooLarge | This file is too large | File too large | Not retryable | Meaning and fix |
| Bluesky | InvalidMimeType | Unsupported or mismatched media type | Unsupported media type | Not retryable | Meaning and fix |
| Bluesky | RateLimitExceeded | Rate Limit Exceeded | Rate limit reached | Retryable | Meaning and fix |
| Bluesky | use_dpop_nonce | Authorization server requires nonce in DPoP proof | DPoP nonce required | Retryable | Meaning and fix |
| Bluesky | invalid_grant | refresh token is invalid, expired or revoked | Refresh token expired or revoked | Not retryable | Meaning and fix |
| Bluesky | InvalidSwap | Record already exists | Record already exists | Not retryable | Meaning and fix |
| Discord | 50013 | Missing Permissions | Bot missing a channel permission | Not retryable | Meaning and fix |
| Discord | 50001 | Missing Access | Bot cannot see the channel | Not retryable | Meaning and fix |
| Discord | 10003 | Unknown Channel | Channel deleted | Not retryable | Meaning and fix |
| Discord | 10015 | Unknown Webhook | Siar webhook deleted | Not retryable | Meaning and fix |
| Discord | 10008 | Unknown Message | Message already deleted | Not retryable | Meaning and fix |
| Discord | 50035 | Invalid Form Body | A field was rejected | Not retryable | Meaning and fix |
| Discord | 40005 | Request entity too large | Upload too large | Not retryable | Meaning and fix |
| Discord | 429 | You are being rate limited. | Rate limit reached | Retryable | Meaning and fix |
| Discord | 401 | 401: Unauthorized | Bot token invalid | Not retryable | Meaning and fix |
| Slack | not_in_channel | not_in_channel | App not in the channel | Not retryable | Meaning and fix |
| Slack | channel_not_found | channel_not_found | Channel missing or private | Not retryable | Meaning and fix |
| Slack | is_archived | is_archived | Channel archived | Not retryable | Meaning and fix |
| Slack | invalid_auth | invalid_auth | Bot token invalid | Not retryable | Meaning and fix |
| Slack | token_revoked | token_revoked | App removed or token revoked | Not retryable | Meaning and fix |
| Slack | missing_scope | missing_scope (needs chat:write.customize) | Missing scope | Not retryable | Meaning and fix |
| Slack | msg_too_long | msg_too_long | Message too long | Not retryable | Meaning and fix |
| Slack | cant_delete_message | cant_delete_message | Cannot delete this message | Not retryable | Meaning and fix |
| Slack | edit_window_closed | edit_window_closed | Edit window closed | Not retryable | Meaning and fix |
| Slack | ratelimited | ratelimited | Rate limit reached | Retryable | Meaning and fix |
| YouTube | 401 authError | Invalid Credentials | Access token expired or revoked | Not retryable | Meaning and fix |
| YouTube | 403 quotaExceeded | The request cannot be completed because you have exceeded your quota. | Daily project quota used up | Retryable | Meaning and fix |
| YouTube | 400 uploadLimitExceeded | The user has exceeded the number of videos they may upload. | Channel upload limit reached | Retryable | Meaning and fix |
| YouTube | 403 forbidden (thumbnails) | The authenticated user doesn't have permissions to upload and set custom video thumbnails. | Channel not verified for thumbnails | Not retryable | Meaning and fix |
| YouTube | 401 youtubeSignupRequired | Unauthorized | Google account has no channel | Not retryable | Meaning and fix |
| YouTube | 400 invalidTitle | The request metadata specifies an invalid or empty video title. | Invalid title | Not retryable | Meaning and fix |
| YouTube | 400 invalidDescription | The request metadata specifies an invalid video description. | Invalid description | Not retryable | Meaning and fix |
| YouTube | 409 videoAlreadyInPlaylist | Video already in playlist. | Already in the playlist | Not retryable | Meaning and fix |
| YouTube | 403 commentsDisabled | The video identified by the videoId parameter has disabled comments. | Comments turned off | Not retryable | Meaning and fix |
| YouTube | uploadStatus rejected | rejectionReason: duplicate | copyright | claim | length | termsOfUse … | Video refused after processing | Not retryable | Meaning and fix |
| YouTube | locked private | privacyStatus came back private although public was requested. | Upload came back private | Not retryable | Meaning and fix |
| TikTok | unaudited_client_can_only_post_to_private_accounts | Please review our integration guidelines… | App not audited: private posts only | Not retryable | Meaning and fix |
| TikTok | privacy_level_option_mismatch | privacy_level is not one of the creator's privacy_level_options. | Privacy level not offered to this creator | Not retryable | Meaning and fix |
| TikTok | spam_risk_too_many_posts | The daily post cap for this creator was reached. | Creator daily post cap reached | Retryable | Meaning and fix |
| TikTok | spam_risk_too_many_pending_share | Too many pending shares in the inbox. | Too many drafts waiting in the inbox | Retryable | Meaning and fix |
| TikTok | spam_risk_user_banned_from_posting | The user is banned from posting. | Creator banned from posting | Not retryable | Meaning and fix |
| TikTok | access_token_invalid | The access token is invalid or not found in the request. | Access token expired or revoked | Not retryable | Meaning and fix |
| TikTok | scope_not_authorized | The user did not authorize the scope required for completing this request. | Permission not granted | Not retryable | Meaning and fix |
| TikTok | url_ownership_unverified | The URL prefix is not verified for this app. | Media domain not verified | Not retryable | Meaning and fix |
| TikTok | rate_limit_exceeded | API rate limit exceeded. | Rate limit reached | Retryable | Meaning and fix |
| TikTok | duration_check_failed | Video duration exceeds the creator's max_video_post_duration_sec. | Video too long for this creator | Not retryable | Meaning and fix |
| TikTok | file_format_check_failed | Unsupported media format. | Unsupported media format | Not retryable | Meaning and fix |
| TikTok | picture_size_check_failed | Picture size check failed. | Photo too large | Not retryable | Meaning and fix |
| TikTok | reached_active_user_cap | The daily quota for active publishing users was reached. | App daily creator cap reached | Not retryable | Meaning and fix |
| TikTok | 40001 | No permission to operate this business account. | No permission on the business account | Not retryable | Meaning and fix |
| TikTok | 40105 | Access token is invalid or expired. | Business token expired | Not retryable | Meaning and fix |
401 | Authentication failed. | Access token expired or revoked | Not retryable | Meaning and fix | |
403 trial | Your application consumer type is not supported / Trial access. | Trial access cannot create Pins | Not retryable | Meaning and fix | |
403 scope | Not authorized to access this resource. | Missing scope | Not retryable | Meaning and fix | |
404 board | Board not found. | Board not found | Not retryable | Meaning and fix | |
404 pin | Pin not found. | Pin not found | Not retryable | Meaning and fix | |
400 image | Invalid image URL / the image could not be fetched. | Image could not be fetched | Not retryable | Meaning and fix | |
400 params | Invalid parameters. | A field failed validation | Not retryable | Meaning and fix | |
400 video | The media is not ready / cover image is required. | Video not ready or no cover | Not retryable | Meaning and fix | |
429 | You have exceeded your rate limit. | Rate limit reached | Retryable | Meaning and fix | |
5xx | Internal Server Error | Pinterest server error | Retryable | Meaning and fix | |
401 | Unauthorized | Access token expired or revoked | Not retryable | Meaning and fix | |
403 private | Forbidden | Subreddit private, quarantined or banned | Not retryable | Meaning and fix | |
429 / RATELIMIT | you are doing that too much. try again in 9 minutes. | Posting too often | Retryable | Meaning and fix | |
SUBREDDIT_NOEXIST | that subreddit doesn't exist | Subreddit does not exist | Not retryable | Meaning and fix | |
SUBREDDIT_NOTALLOWED | you aren't allowed to post there. | Not allowed to post there | Not retryable | Meaning and fix | |
SUBMIT_VALIDATION_FLAIR_REQUIRED | Your post must contain post flair. | Flair required | Not retryable | Meaning and fix | |
BAD_FLAIR_TEMPLATE_ID | invalid flair template id | Invalid flair id | Not retryable | Meaning and fix | |
NO_LINKS / NO_SELFS | this subreddit only allows text posts | Post type not allowed here | Not retryable | Meaning and fix | |
TOO_LONG | this is too long (max: 300) | Title or text too long | Not retryable | Meaning and fix | |
invalid_grant | invalid_grant | Refresh token revoked | Not retryable | Meaning and fix | |
| Snapchat | 401 | Unauthorized / invalid_token | Token expired | Not retryable | Meaning and fix |
| Snapchat | AUTHORIZATION_PERMISSION_DENIED | The caller does not have access to this public profile | App not allowlisted by Snap | Not retryable | Meaning and fix |
| Snapchat | 429 | Rate limit exceeded | Rate limit reached | Retryable | Meaning and fix |
| Snapchat | media_invalid | Media does not meet requirements | Media outside the limits | Not retryable | Meaning and fix |
| Snapchat | MEDIA_EXPIRED | The media is more than 24 hours old | Media older than 24 hours | Retryable | Meaning and fix |
| Snapchat | MEDIA_POSTING_ALREADY_IN_PROGRESS | This media is already being posted | Already being posted | Not retryable | Meaning and fix |
| Snapchat | spotlight_rejected | Spotlight status REJECTED | Spotlight refused by moderation | Not retryable | Meaning and fix |
| Snapchat | invalid_grant | invalid_grant | Authorization code invalid | Not retryable | Meaning and fix |
| Snapchat | spotlight_requires_one_video | Spotlight needs exactly one video | Spotlight needs exactly one video | Not retryable | Meaning and fix |
| Google Business Profile | 401 UNAUTHENTICATED | Request had invalid authentication credentials. | Access token expired or revoked | Not retryable | Meaning and fix |
| Google Business Profile | 403 SERVICE_DISABLED | My Business Business Information API has not been used in project … before or it is disabled. | API not enabled for the project | Not retryable | Meaning and fix |
| Google Business Profile | 403 ACCESS_TOKEN_SCOPE_INSUFFICIENT | Request had insufficient authentication scopes. | Permission not granted | Not retryable | Meaning and fix |
| Google Business Profile | 429 RATE_LIMIT_EXCEEDED | Quota exceeded for quota metric 'Requests' and limit 'Requests per minute' of service 'mybusinessaccountmanagement.googleapis.com'. | Per-minute quota reached | Retryable | Meaning and fix |
| Google Business Profile | 400 FAILED_PRECONDITION | Location is not verified. | Location not verified | Not retryable | Meaning and fix |
| Google Business Profile | 400 INVALID_ARGUMENT (summary) | Request contains an invalid argument. | A post field failed validation | Not retryable | Meaning and fix |
| Google Business Profile | 400 INVALID_ARGUMENT (media) | The photo could not be fetched or is too small. | Photo unreadable or wrong size | Not retryable | Meaning and fix |
| Google Business Profile | 404 NOT_FOUND | Requested entity was not found. | Location or post not found | Not retryable | Meaning and fix |
| Google Business Profile | state REJECTED | LocalPost.state = REJECTED | Post removed for policy | Not retryable | Meaning and fix |
| Google Business Profile | invalid_grant | Token has been expired or revoked. | Refresh token expired or revoked | Not retryable | Meaning and fix |
Mastodon doesn't use stable error codes. Each server sends an HTTP status and a short message, and Siar relays both on the post. Read the status: 401 means reconnect, 422 means the server refused the status, 429 means slow down, 5xx means try again later. Mastodon API errors
No listed code has the verdict unknown. Siar uses it at run time, when a send was interrupted and it can't tell whether the network published the post. Check the account before you retry.
No codes match both filters. Show every code
Mastodon has no stable error codes: each server answers with an HTTP status and a short message, and Siar relays both. TikTok, Pinterest publishing, Reddit, Snapchat and Google Business Profile are built in Siar and not open yet; their codes are here so you can read an error from your own integration.
What the retry verdicts mean
Retryable. The same request can work later. The network hit a rate limit, had a server error, or was still processing media. Siar waits and tries again by itself for rate limits and outages, up to 3 attempts in all, after the reset time when the network sends one.
Not retryable. Sending the same request again fails the same way. Change something first: reconnect the account, edit the text or media, grant a permission, or top up a credit. Then retry the post.
Unknown. Siar can't tell whether the network acted, usually because a send was interrupted. Check the account before you send again, so you don't post twice.
In Siar's API the verdict is the retryability field, with the values retryable, non_retryable and unknown.
Quick answers for eight codes
LinkedIn 426 NONEXISTENT_VERSION · "Requested version … is not active" · API version retired
LinkedIn returns HTTP 426 when the Linkedin-Version header names a retired version. Change it to a supported YYYYMM value and resend. LinkedIn supports each monthly version for at least a year, set 16 November 2026 as the retirement date for 202511, and lists 202610 as the latest (LinkedIn versioning, checked 12 November 2026).
What Siar does with it. Siar sends Linkedin-Version: 202609, so posts through Siar are not affected by the 202511 retirement. If Siar's version is ever retired, the fix is a Siar update, not a change you make per post. See the 202511 sunset entry. LinkedIn API error codes
X 402 CreditsDepleted · "Your enrolled account does not have any credits to fulfill this request." · X API credit used up
X returns HTTP 402 CreditsDepleted when the pay-per-use credit behind the X app is empty. Top up the credit, then retry. Sending the same request before the top-up fails the same way, which is why the verdict is not retryable.
What Siar does with it. Siar takes X's own price from your prepaid X credit before each call. When the balance is empty, the post stops in Siar with "Not enough X credit" before X is called, other networks keep publishing, and a credit.exhausted webhook tells your server. X API error codes
X 403 duplicate · "You are not allowed to create a Tweet with duplicate content." · Same text posted recently
X refuses a post whose text matches one the same account posted recently. Change the text and send it again. Resending the same text gets the same 403, so automatic retries don't help here. If you post the same update on a schedule, change part of the wording each time.
What Siar does with it. Siar keeps X's message on the post unchanged. When you retry after editing, only X is sent again; networks that already published are left alone. X API error codes
Instagram 2207042 · "You reached maximum number of posts that is allowed to be published by Content Publishing API." · 24-hour publishing limit reached
Meta returns code 9 with subcode 2207042 when an Instagram account has reached its 24-hour limit for posts published through the API. Meta's own fix: "try again the following day" (Instagram error codes, checked 12 November 2026). The window rolls, so spacing posts out avoids it.
What Siar does with it. Siar treats it as a rate limit and tries again by itself, up to 3 attempts in all. If the window is still full, the post fails with Meta's message and you retry it later. Instagram API error codes
TikTok spam_risk_too_many_posts · "The daily post cap for this creator was reached." · Creator daily post cap reached
TikTok returns spam_risk_too_many_posts (HTTP 403) when "the daily post cap from the API is reached for the current user" (TikTok Direct Post reference, checked 12 November 2026). TikTok's sharing guidelines put the cap at around 15 posts a day per creator. Wait for the next day, or post less often.
What Siar does with it. TikTok: built, opening after TikTok approves Siar. The code is listed so you can read it from your own integration. TikTok API error codes
Bluesky ExpiredToken · "Token has expired" · Session expired and could not refresh
Bluesky returns ExpiredToken when a session token has expired. A client normally refreshes the session and carries on, so you see this error only when that refresh fails: the refresh token has expired too, or the app password was deleted. Then nothing but a new sign-in will work.
What Siar does with it. Siar refreshes sessions by itself. When a refresh fails, it marks the account as needing a reconnect, and its 6-hourly connection check sends a social-account.updated webhook. Reconnect with a new app password. Bluesky API error codes
LinkedIn 422 duplicate · "Content is a duplicate of urn:li:share:…" · Same text posted recently
LinkedIn returns 422 when the same author posted the same commentary recently. The message names the earlier post's URN, so check it first: that post already went out. Change the text and post again; a retry with the same text fails the same way.
What Siar does with it. Siar keeps LinkedIn's message on the post. A retry after editing re-sends only LinkedIn, not the networks that already published. LinkedIn API error codes
Facebook 190 · "Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons." · Access token expired or revoked
Meta error 190 means the access token expired or was revoked: the user changed their password, removed the app, or Meta ended the session for security reasons. No retry will work. The person has to sign in again to grant a new token. Instagram and Threads return the same code.
What Siar does with it. Siar marks the account as needing a reconnect, and its connection check sends a social-account.updated webhook. Your customer reconnects through your branded connect link. Facebook API error codes
Where the error shows up in Siar's API
A network's refusal arrives on the post, not as an HTTP error on the create call. Siar accepts the post first, then sends it, so the network answers later.
GET /post/{id}:errorsholds one message per network: the network's own words, or Siar's plainer version where the code has one.errorsVerboseadds the detail: Siar's category, the network's message, the HTTP status, the network's raw response andretryability.- Turn on the detail:
errorsVerboseis off by default. SetverboseErrors: truewithPATCH /organization/settings. post.publishedwebhook: fires when the post reaches a final state, published or failed, with each network's result.POST /post/{id}/retry: re-sends only the networks that failed. A post can be retried up to 6 times, and a retry doesn't count against your plan again.
{
"errors": {
"TWITTER": "You are not allowed to create a Tweet with duplicate content."
},
"errorsVerbose": {
"TWITTER": {
"code": "DUPLICATE",
"errorMessage": "You are not allowed to create a Tweet with duplicate content.",
"isTransient": false,
"retryability": "non_retryable",
"httpStatus": 403,
"meta": {
"…": "X's response body, unchanged"
},
"userFacingMessage": "You are not allowed to create a Tweet with duplicate content."
}
}
} Siar's own errors, such as a 400 with an issues array or a 403 for a plan limit, use a different envelope. Siar API error envelope and status codes
Mastodon: HTTP status instead of codes
Mastodon has no stable error codes. Each server answers with an HTTP status and a short message, and the wording can differ from server to server. Siar relays both on the post.
- 401: the token is no longer valid. Reconnect the account. Not retryable.
- 422: the server refused the status, as a duplicate or for its content. Change it. Not retryable.
- 429: too many requests. Mastodon's documented default is 300 requests per 5 minutes per account. Retryable.
- 5xx: the server is having trouble. Retryable.
Siar sends an Idempotency-Key with every status, so a retried send can't post twice. Mastodon API errors
Frequently asked questions
Should I retry a social media API error automatically?
Only when the verdict is retryable: rate limits, server errors, and media the network is still processing. Wait for the reset time the network sends, and cap the attempts. Every other error fails the same way until something changes: the text, the media, a permission, a token or a credit balance.
Why does a post fail on one network and publish on the others?
Each network checks a post against its own rules, limits and permissions, so one can refuse what the others accept: a duplicate on X, the 24-hour cap on Instagram, a missing scope on LinkedIn. In Siar the other networks still publish, and a retry re-sends only the network that failed.
How do I avoid posting twice when I retry?
Retry only what failed, and check the account before re-sending anything whose result you don't know. Siar claims each network target once, so retries and restarts can't publish it again, and it looks for an interrupted post on the account first. Sending the create request a second time does make a second post.
Why do Facebook, Instagram and Threads share error codes?
All three are Meta APIs and answer with Meta's error format, so the same numbers mean the same thing on each: 190 for an invalid token, 4 for the app's rate limit, 100 for a bad parameter. The table lists each code once per network, so the network filter shows the full set for each.
Does Mastodon have API error codes?
No. Mastodon servers answer with an HTTP status and a short message, and the wording differs by server. Read the status: 401 means reconnect, 422 means the server refused the status, 429 means slow down, 5xx means try later. Siar relays the status and the message on the post.
Are these the networks' errors or Siar's?
The networks'. They arrive on the post after Siar has sent it, not as an HTTP error on the create call. Siar's own errors, such as a 400 with an issues array or a 403 for a plan limit, are on the Siar API error envelope page, with the status codes Siar returns.
How current is this list?
It is built from the error references in Siar's network adapters, the same code that maps these errors when a post is sent. The date at the top is the last change to that code. Messages are quoted as the networks send them, shortened where they run long.