From Facebook Graph API Error code 403 Full message { “error”: { “message”: “(#210) A page access token is required to request this resource.”, “type”: “OAuthException”, “code”: 210, “fbtrace_id”: “AixG8A-XFqeHtF5dUyUoAhU” } }
Hi Logesh
It seems like there is some issue related to permission.
I suspect permission is not setup correctly to post using Graph API.
I struggled in the beginning too and then I found this helpful video.
Please try steps mentioned in the video.
I am sure it would work for you.
Thank you.
Found the solution: below are the details
How to Fix the Error
You need to generate and use a dedicated Page Access Token. Here’s a comparison of the token types and the steps to get the correct one:
| Token Type | Purpose & Use Case |
|---|---|
| User Access Token | Accessing data on behalf of a user, like their profile or posts. |
| Page Access Token | Required for managing a Facebook Page—posting, replying to comments, etc. |
-
Get a User Access Token: First, you need a User Access Token from the user who is an admin of the Page. Ensure this token has the
manage_pagesandpublish_pagespermissions. -
Generate the Page Access Token: Use your User Access Token to make a Graph API request to get the Page Access Token.
-
Endpoint:
https://graph.facebook.com/v23.0/``<YOUR_PAGE_ID>?fields=access_token&access_token=<YOUR_USER_ACCESS_TOKEN>. -
Replace
<YOUR_PAGE_ID>with your Facebook Page’s numeric ID and<YOUR_USER_ACCESS_TOKEN>with the token from step 1.
-
-
Use the New Token in n8n: In your n8n workflow, create a new Facebook Graph API credential or update the existing one. Paste the Page Access Token you just generated into the “Access Token” field.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.