FacebookUpdated

Facebook API error codes and how to fix them

Facebook Graph API errors arrive as a JSON error object with a numeric code, often an error_subcode, and a message. 190 means the token is no longer valid, 4, 17, 32 and 613 are rate limits, 10 and 200 missing permissions, 368 a policy block and 506 a duplicate post. Each entry below has the fix. Siar, a unified social media API, keeps Facebook’s own code and message on the post and adds the fix below.

Jump to a code: 190, 4, 17, 32, 613, 10, 200, 100, 368, 506, 2018278, 551.

Codes and messages are what Facebook returns. Where Facebook documents a code, this page follows its docs.

190 · Error validating access token · the token is no longer valid

Meta returns code 190 when the access token has expired, been revoked, or was invalidated by a password change or a security reset. Read error_subcode: 463 is expired, 460 a password change, 458 the app removed. Fix: send the user through Facebook Login again and use the new token.

What Siar does with it: Siar refreshes the token itself where Facebook allows it. If that fails, Siar marks the account as needing reconnection and keeps this error on the post. Later posts to the account stop with "Reconnect this account, then retry the post." until your customer reconnects through the same connect link.

Facebook's message: Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.

4 · (#4) Application request limit reached · the app hit its rate limit

The app-level rate limit was hit. Wait for the window to reset, then retry, and lower your call volume.

What Siar does with it: Siar treats it as temporary and tries again on its own, up to three attempts in all. It waits for Facebook's reset time when Siar can read one from the response, otherwise 30 seconds, then 60. These attempts don't use the post's manual retries. If the last attempt fails too, the error stays on the post.

Facebook's message: (#4) Application request limit reached

17 · (#17) User request limit reached · this user made too many calls

The connected user made too many calls in the last hour. Wait for the window to reset; spread scheduled posts out.

What Siar does with it: Siar treats it as temporary and tries again on its own, up to three attempts in all. It waits for Facebook's reset time when Siar can read one from the response, otherwise 30 seconds, then 60. These attempts don't use the post's manual retries. If the last attempt fails too, the error stays on the post.

Facebook's message: (#17) User request limit reached

32 · (#32) Page request limit reached · the Page hit its rate limit

The Page hit its Business Use Case rate limit. Wait; the reset time is in the error meta when Meta sends it.

What Siar does with it: Siar treats it as temporary and tries again on its own, up to three attempts in all. It waits for Facebook's reset time when Siar can read one from the response, otherwise 30 seconds, then 60. These attempts don't use the post's manual retries. If the last attempt fails too, the error stays on the post.

Facebook's message: (#32) Page request limit reached

613 · (#613) Calls to this api have exceeded the rate limit · an endpoint rate limit was hit

A per-endpoint rate limit was exceeded. Retry later.

What Siar does with it: Siar treats it as temporary and tries again on its own, up to three attempts in all. It waits for Facebook's reset time when Siar can read one from the response, otherwise 30 seconds, then 60. These attempts don't use the post's manual retries. If the last attempt fails too, the error stays on the post.

Facebook's message: (#613) Calls to this api have exceeded the rate limit.

10 · (#10) Application does not have permission for this action · a permission is missing

A required permission was not granted, or the app lacks Advanced Access. Ask the user to log in again and grant every requested permission; check the app has Advanced Access for it.

What Siar does with it: Siar keeps Facebook's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

Facebook's message: (#10) Application does not have permission for this action

Related: Meta App Review: our dates and lessons

200 · (#200) Requires … publish_pages as an admin · the user can't post to this Page

The user lacks the Page task (CREATE_CONTENT / MODERATE) or the permission for this call. Ask a Page admin to give the connected user full control, then reconnect.

What Siar does with it: Siar keeps Facebook's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

Facebook's message: (#200) Requires either publish_to_groups permission and app being installed in the group, or manage_pages and publish_pages as an admin

Related: Meta App Review: our dates and lessons

100 · (#100) Invalid parameter · a field is missing or wrong

A parameter was missing or invalid (bad URL, unsupported field, wrong id). Check the post data; the message names the parameter.

What Siar does with it: Siar keeps Facebook's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

Facebook's message: (#100) Invalid parameter

368 · The action attempted has been deemed abusive… · Meta has blocked this action for now

Meta temporarily blocked the account from this action for policy reasons. Review the content; the block lifts after a while.

What Siar does with it: Siar keeps Facebook's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

Facebook's message: The action attempted has been deemed abusive or is otherwise disallowed

506 · (#506) Duplicate status message · the same text was just posted to this Page

Meta returns 506 when the Page has just published the same text. Fix: change the text, or wait before posting it again. If you hit it while retrying, check the Page first: the earlier attempt may already be live.

What Siar does with it: Siar keeps Facebook's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

Facebook's message: (#506) Duplicate status message

2018278 · (#10) This message is sent outside of allowed window · the 24-hour reply window has closed

Messages can only be sent within 24 hours of the person's last message. Wait for the person to message again, or use an approved message tag.

What Siar does with it: Siar keeps Facebook's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

Facebook's message: (#10) This message is sent outside of allowed window.

551 · This person isn't available right now · the person can't receive messages

The recipient blocked the Page or deactivated messaging. Nothing to fix on your side: the person blocked the Page or turned off messages.

What Siar does with it: Siar keeps Facebook's code and message on the post, word for word, marks it "don't retry" or "unknown", and still publishes to the other networks in the post. Fix the cause, then call POST /post/{id}/retry: only the failed networks are sent again, and the retry doesn't count as another post.

Facebook's message: This person isn't available right now.

Where to see a Facebook error in Siar

Read a failed post with GET /post/{id}. The error field sums it up, errors lists the result per network, and errorsVerbose keeps Facebook's own code, message and HTTP status, a plain-English message, and a retry verdict: retryable, non_retryable or unknown. A signed post.published webhook fires when the post has published or failed, with each network's result. Fix the cause and retry with POST /post/{id}/retry.

Siar, a unified social media API, publishes to Facebook, Instagram, Threads, X, LinkedIn profiles, Bluesky, Mastodon, Discord and Slack today. See each network's status, or go back to Post to Facebook via API.

Error codes for other networks

The same pattern, for each network Siar is built for: social media API error codes, by network. For errors from Siar's own API (a 401 for a missing key, a 429 rate limit), see Siar API errors and status codes.

TikTok API error codes · YouTube API error codes · Instagram API error codes · X (Twitter) API error codes · Threads API error codes · LinkedIn API error codes · Pinterest API error codes · Reddit API error codes · Mastodon API error codes · Discord API error codes · Slack API error codes · Bluesky API error codes · Google Business Profile API error codes · Snapchat API error codes

Frequently asked questions

Should I retry a failed Facebook API request?

Only if the error is temporary. Rate limits (429 and Facebook's own rate-limit codes) and 5xx errors can be retried after the reset time. Token, permission, duplicate and content errors fail the same way every time, so fix the cause first. Each entry on this page says which kind it is.

Why does the Facebook API reject a request that looks right?

Usually because of something outside the request body: an expired token, a permission the user didn't grant, the account's daily limit, or text the account posted recently. Read the code and message first, then match it to an entry on this page. Validating length and media before sending catches most of the rest.

Does Siar retry failed Facebook posts automatically?

For temporary errors, yes: Siar tries up to three times in all, waiting for the network's reset time when it can read one. Other errors stay on the post with Facebook's own code and message. Fix the cause and retry: only the failed networks are sent again, and the retry doesn't count as another post.

Will retrying a failed post publish it twice?

Not through Siar's retry. Each network in a post is claimed once, and only the networks that failed are sent again. An interrupted send is checked against the account before anything is re-sent. But calling the create endpoint again makes a new post: Siar has no client idempotency key, so check your own records first.

Your first post is one request away.

Start with 20 free posts to try. No card. A one-time allowance, with no time limit.