Forbidden - Perhaps Check Your Credentials

I am trying to have a image and content posted to my page.

I set up the API so it is a page access token. I confirmed it has the right permissions in order to do what it needs.

I keep getting the error:
(#200) This endpoint is deprecated since the required permission publish_actions is deprecated

From Facebook Graph API

Error code

403

Full message

{ "error": { "message": "(#200) This endpoint is deprecated since the required permission publish_actions is deprecated", "type": "OAuthException", "code": 200, "fbtrace_id": "A7oiuFUN9B6JbsQIIC_1C9R" } }

Other info

Node type

n8n-nodes-base.facebookGraphApi

Node version

1 (Latest)

n8n version

1.91.2 (Cloud)

Time

5/23/2025, 3:16:31 PM

Stack trace

NodeApiError: Forbidden - perhaps check your credentials? at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Facebook/FacebookGraphApi.node.js:424:17) at processTicksAndRejections (node:internal/process/task_queues:95:5) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:687:27) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:921:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1257:20

Facebook Graph API

Test step

Parameters

Settings


Docs

Credential to connect with

Host URL

Fixed

Expression

HTTP Request Method

Fixed

Expression

Graph API Version

Fixed

Expression

Node

Fixed

Expression

Edge

Fixed

Expression

Ignore SSL Issues (Insecure)

Fixed

Expression

Send Binary File

Fixed

Expression

Options

Query Parameters

Name

Fixed

Expression

Value

Fixed

Expression

{{ $json.data[0].url }}

https://ideogram.ai/api/images/ephemeral/AGNpDucQRZKZaU4Ionkk8w.png?exp=1748124902&sig=43c5aed724c35abb072465e59600489dbb023a9ec0c12aa05c9f041dafe1b5bc

Name

Fixed

Expression

Value

Fixed

Expression

{{ $(‘OpenAI’).item.json.message.content.social_media_posts.Facebook.post }}

:police_car_light: Emergency dental issues can happen anytime—chipped teeth, severe toothaches, lost crowns, and abscesses. Don’t let the pain win! Emergency Dental Repair offers quick, expert relief nationwide. :tooth: Imagine getting back to smiling confidently without the wait or worry. The small risk? None—just peace of mind and expert care when you need it most. Whether it’s a sudden tooth pain or a cracked tooth, we are ready to fix it fast. :tooth: Don’t wait. Relief is one call away. Learn more and book now :backhand_index_pointing_right: https://emergencydentalrepair.com/emergency-dental-repair-services #DentalEmergency #ToothacheRelief #ChippedTooth #EmergencyDentist #SmileCare

Add Parameter

I wish this node would…

Problem in node ‘Facebook Graph API‘

Forbidden - perhaps check your credentials?

AI Assistant

beta

I have the similar issue.