Short version: when a Facebook Page post fails through the Graph API, the code field tells you the family of problem and error_subcode usually tells you the fix. Almost every failure you will see while publishing to Pages falls into one of four buckets: retry later (codes 1, 2, 4, 17, 32, 341, 613, 80001 and the transient video upload errors), start the upload again (expired or broken upload sessions), fix the request (100, 324, 506, 1609005, media size and format errors), stop and ask the user to act (190 and its authentication subcodes, 10, 200 to 299), or pause for hours on a policy block (368). This guide covers every code on Meta's Graph API error-handling guide, the Page-relevant codes on the rate-limit guide, the publishing codes on the Pages API error-code page (Meta also lists insights, ads and custom audience errors there, which are out of scope) and the video upload codes on the Video API error-code page (tagging, date and slideshow errors are left out), grouped by what your code should do next. Meta's own pages are the authority and change without notice, so check the error-handling guide for exact wording.
What a Graph API error looks like
Every failed call returns a JSON error object. Meta's guide lists seven fields:
message: a human-readable description, meant for your logs.type: oftenOAuthException, even for errors that have nothing to do with OAuth (Meta's own sample rate-limit responses use it).code: the error code, such as 190 or 32.error_subcode: extra detail; for token errors this is what separates "log in again" from "go fix your account on facebook.com".error_user_titleanderror_user_msg: text Meta intends for display to the user, localised to the locale of the API request.fbtrace_id: an internal support identifier. Meta says to include it in bug reports but warns that "this ID will expire shortly", so log it with a timestamp the moment you receive it.
Store the whole object, not just the message. If you need to read a captured error quickly, paste it into a JSON formatter rather than squinting at a single-line log entry.
Summary table
| Code (subcode) | Meta's name | Bucket |
|---|---|---|
| 1, 2 | API Unknown, API Service | Retry |
| 4, 17, 32, 341, 613, 80001 | Rate limits | Retry after backing off |
| 190 (458 to 467, 492) | Access token errors | Needs the user |
| 190 (2069032) | Page access token required | Fix the request |
| 10, 200 to 299 | Permission denied | Needs the user |
| 1 (2853006) | Viewer lacks permission for this action | Needs the user |
| 3 | API Method | Fix your app's setup |
| 100 | Invalid parameter | Fix the request |
| 324 | Missing or invalid image file | Fix the media |
| 368 | Temporarily blocked for policies violations | Stop, wait |
| 506 | Duplicate Post | Change the content |
| 1609005 | Error Posting Link | Fix the link |
| 1363xxx | Video upload errors | Depends on subcode, see below |
1. Retry it: transient and rate-limit errors
| Code | What Meta says | What to do |
|---|---|---|
| 1 | API Unknown: "Possibly a temporary issue due to downtime." | Wait and retry. Meta adds that if it happens again you should check you are calling an API that exists. |
| 2 | API Service: "Temporary issue due to downtime." | Wait and retry. |
| 4 | The app whose token is used has reached its rate limit | Back off app-wide: pause the whole worker pool, not one job. |
| 17 | The user whose token is used has reached their rate limit | Back off for that user only. Meta notes a user's call count can be spread across several apps, so you may hit this without doing anything wrong. |
| 32 | The user or app whose token is used in the Pages API request has reached its rate limit | Back off. Meta's BUC table lists 32 for Page calls made with a User access token. |
| 80001 | "There have been too many calls to this Page account. Wait a bit and try again." | Back off for that Page. This is the Business Use Case limit for Page calls made with a Page or system user token. |
| 341 | Application limit reached | Wait and retry, and look at your request volume. |
| 613 | A custom rate limit has been reached | Check the docs of the specific API you called for its own limit. With subcode 1996, Meta says it has "noticed inconsistent behavior in the API request volume of your app", typically after a change in your traffic pattern. |
Which rate limit applies to Page publishing
This trips people up, because the answer depends on the token. Meta's rate-limit guide says Pages API requests made with an application or user access token fall under Platform Rate Limits, while requests made with a Page or system user access token fall under Business Use Case (BUC) Rate Limits. If both could apply, BUC wins.
- Platform, app token: "Calls within one hour = 200 * Number of Users", measured over a rolling one-hour window, where users means daily active users of your app.
- Platform, user token: a per-user rolling one-hour count. Meta does not publish the number: "Due to privacy concerns, we do not reveal actual call count values for users."
- BUC, Page or system user token: "Calls within 24 hours = 4800 * Number of Engaged Users", where engaged users is the number of users who engaged with the Page per 24 hours.
For schedulers, that means a Page with little engagement gets a small daily budget, shared by publishing, polling and insights reads.
Read the headers before you hit the wall
Meta documents two usage headers. Platform-limited calls carry X-App-Usage, a JSON string with call_count, total_cputime and total_time, each a whole-number percentage. BUC-limited calls carry X-Business-Use-Case-Usage, keyed by business object ID, with each entry holding type (for Pages, pages), the same three percentages and estimated_time_to_regain_access, which Meta defines as "Time, in minutes, until calls will not longer be throttled." Meta says that header "can return up to 32 objects in one call", so parse it as a map, not a single object. Calls may be throttled when total_cputime or total_time reaches 100.
Two pieces of Meta's guidance are worth enforcing in code. First: "When the limit has been reached, stop making API calls. Continuing to make calls will continue to increase your call count." Second: every ID counts, so ?ids=4,5,6 is three calls, not one. When the BUC header gives you estimated_time_to_regain_access, sleep that long instead of guessing.
2. Stop and tell the user: tokens and permissions
Code 190 means the token is unusable. Meta's guide says to get a new access token, and if a subcode is present, to act on the subcode. Code 102 (API Session) carries the same instruction.
| 190 subcode | Meta's name | What to do |
|---|---|---|
| 458 | App Not Installed | The user has not logged into your app. Reauthenticate. |
| 459 | User Checkpointed | The user must log in at facebook.com or m.facebook.com to clear an issue. A new token will not help until they do. |
| 460 | Password Changed | The user must log in to your app again. |
| 463 | Expired | Token expired, revoked or invalid. Reauthenticate. |
| 464 | Unconfirmed User | Same as 459: the user has to fix something on Facebook first. |
| 467 | Invalid Access Token | Token expired, revoked or invalid. Reauthenticate. |
| 492 | Invalid Session | The user behind the Page token "does not have an appropriate role on the Page". Someone removed them, or their role changed. |
| 2069032 | A Page access token is required for this call | Not a user problem: you sent a user token where a Page token is needed. Fetch the Page token from /me/accounts. |
On token lifetimes, Meta's long-lived token guide says default user and Page tokens are short-lived, a long-lived user token "generally lasts about 60 days", and a long-lived Page token derived from it does "not have an expiration date and only expire or are invalidated under certain conditions." So if your stored Page token suddenly returns 190, treat it as revoked (password change, role removed, app access removed) rather than as a routine expiry.
Permission errors are the other half of this bucket. Code 10 (API Permission Denied) and codes 200 to 299 mean "Permission is either not granted or has been removed." To publish to a Page, Meta's feed reference asks for a Page access token from someone who can perform the CREATE_CONTENT task, plus pages_manage_posts, pages_read_engagement and pages_show_list; the Pages posts guide adds publish_video if you publish video. The Pages API error page also lists code 1 with subcode 2853006, "Viewer doesn't have permission to perform this action", whose fix is to ask a Page admin for access. Code 3 (API Method) is a capability problem on your app's side, not the user's: check the app's permissions and features.
3. Stop and wait: policy blocks
Code 368 is "Temporarily blocked for policies violations"; the Page photos and videos references describe it as "The action attempted has been deemed abusive or is otherwise disallowed." Meta's guide says to wait and retry. Our advice: pause that Page's queue for hours, not seconds, and tell the user; rapid retries look like the behaviour that caused the block.
4. Fix the request: content and links
| Code | What Meta says | What to do |
|---|---|---|
| 100 | Invalid parameter | Read the message; it usually names the field. Do not retry unchanged. |
| 506 | "Duplicate posts cannot be published consecutively." | Change the content and try again. Schedulers that recycle evergreen text hit this often. |
| 1609005 | Error Posting Link: "There was a problem scraping data from the provided link." | Check the URL is public and returns proper Open Graph tags. Meta's feed reference adds: "If the viewer or app cannot see the url of link, the post will fail." |
| 200 (2069030, 2069031) | Endpoint or field not supported | You are calling something Pages no longer supports. Update the call. |
| 200 (2069033) | "The corresponding UI feature of this API is deprecated or not available." | Remove the feature from your integration. |
Two request-shape rules from the Pages posts guide cause quiet failures. A scheduled post (published=false with scheduled_publish_time) must be "between 10 minutes and 30 days from the time of the API request". And "An app can only update a Page post if the post was made using that app." Validate both before you call. For 1609005, running the URL through an Open Graph checker shows what Meta's scraper will see.
5. Fix the media: photos and video uploads
For photos, the Page photos reference lists accepted types as .jpeg, .bmp, .png, .gif and .tiff, and says "Files can not exceed 10MB", recommending PNGs stay under 1MB. Error 324 is "Missing or invalid image file". Resize before upload rather than after a failure; our image resize tool does it in the browser.
Video is where most of the codes live. Meta's Video API error-code page groups them by upload phase. Meta's page labels the first group "Error Subcode" and the later groups "Error Code", and does not say which parent code they arrive under, so match these numbers against both code and error_subcode.
| Subcode | What Meta says | Bucket |
|---|---|---|
| 6000 | Problem uploading your video file, try another file | Retry several times, then report (Meta's recommendation) |
| 1363019, 1363021, 1363033 | Problem uploading your video; 1363033 is "Typically caused by connection issue" | Retry |
| 1363030 | Video Upload Timeout | Retry; on slow links upload in smaller chunks |
| 1363037 | Invalid start offset from the client | Parse start_offset and end_offset from the error and resume from there |
| 1363041 | Error Uploading Video | Listed twice: in the upload phase Meta says retry; in the end-session phase it says check you are not using an expired upload session ID. If a retry fails, start a new session. |
| 1363045 | Uploaded data does not match the declared size | Fix your file-length bookkeeping, then start again |
| 1363022 | Too small: minimum 1 KB | Fix the input |
| 1363023 | Too large: maximum 2 GB | Fix the input |
| 1363025 | Too short: minimum 1 second | Fix the input |
| 1363026 | Too long: maximum 40 minutes | Fix the input |
| 1363024, 1363031, 1363032 | Unsupported format, or "not a video" | Re-encode |
| 1363042 | No Permission to Upload Video | Needs a valid token (Meta's recommendation) |
The Page videos reference adds 389 ("Unable to fetch video file from URL"), 382 (file too small) and 6001 ("There was a problem uploading your video. Please try again."). For 389, make sure the file_url is public and returns the file directly. Meta's resumable upload flow lets you recover an interrupted session: a GET on the upload session returns the file_offset to resume from, so a dropped connection should resume, not restart.
Versioning: the error you get later
Meta's versioning guide says the latest Graph API version is v27.0 and that "Each version is guaranteed to operate for at least two years", ending two years after the next version ships. Once a version is retired, calls to it are "defaulted to the next oldest, usable version", which means an old integration does not fail cleanly; it silently starts running on newer behaviour. Unversioned calls use whatever version is set in your app dashboard. Pin a version in every request URL.
A classifier you can copy
Branch on error_subcode first and code second, into four outcomes. Retry with backoff: codes 1, 2, 4, 17, 32, 341, 613, 80001, and video subcodes 6000, 6001, 1363019, 1363021, 1363030, 1363033 (cap the attempts, and honour estimated_time_to_regain_access when the header is present). Restart the upload: 1363037 (resume from the offset in the error), 1363041 and 1363045 (new session). Fix the input, do not retry: codes 100, 324, 382, 389, 506, 1609005, subcodes 2069030, 2069031, 2069032, 2069033, and video subcodes 1363022 to 1363026, 1363031, 1363032. Pause the Page for hours, then retry: 368 (Meta says "Wait and retry the operation"; the long pause is our advice). Needs the user, pause the account: 190 with any subcode, 102, 10, 200 to 299, 1 with 2853006, and 1363042. Anything in the last bucket should produce a plain-language message and stop the queue for that Page until the user acts; retrying it only burns your rate limit.
FAQ
What is error code 190 on Facebook?
The access token is invalid, expired or revoked. The subcode tells you why: 463 and 467 mean get a new token, 459 and 464 mean the user has to log in to Facebook and fix something first, and 492 means the user no longer has a role on the Page.
What is the difference between error 4, 17 and 32?
According to Meta's rate-limit guide, 4 is the app hitting its limit, 17 is the user whose token you used hitting theirs, and 32 is the user or app hitting the Pages API limit. Calls made with a Page or system user token return 80001 instead.
Why does my Facebook post fail with error 506?
Meta rejects duplicate posts published consecutively. Change the text before retrying; retrying unchanged will fail the same way.
How many API calls can I make to a Facebook Page?
With a Page or system user token, Meta's formula is 4,800 times the number of users who engaged with the Page in the last 24 hours, over a rolling 24 hours. Watch the X-Business-Use-Case-Usage header for the live percentage.
Are these the same codes Instagram returns?
The general codes (190, 10, 4, 17, 368) are shared across Meta's Graph API. Instagram publishing adds its own 2207xxx subcodes, covered in our Instagram Graph API error codes guide.
How this guide is built
Every code, limit and quotation above was read on 11 November 2026 from Meta's developer documentation: the Graph API error-handling guide, the Graph API rate-limit guide, the Pages API overview, posts guide and error-code page, the Page feed, photos and videos references, the Video API publishing guide and error-code page, the long-lived access token guide and the Graph API versioning guide. The four-bucket grouping and the retry advice are our editorial choices, not Meta's. We re-check these pages monthly and record any change in this page's changelog.
Comments 0
No comments yet. Be the first to share your thoughts.
Leave a comment