Describe the problem/error/question
I am trying to Run the Forcepoint API to get the list of Categories and the sites within it.
Forcepoint_API: https://ws-custom-categories.api.forcepoint.io/v1.0.0
I need to generate the Bearer token using this: Forcepoint API Documentation which I did and when I use it in Postman I get the Results.
I am able to generate the token in n8n, but when I pass that token into the Forcepoint_API I get 403 error. Attaching snapshots for reference!
I have Added Added Headers as Accept: application/json and Content-Type: application/json. Doesnât work with or without it. Also tried User-Agent:PostmanRuntime/7.51.1
What is the error message (if any)?
Please share your workflow
Share the output returned by the last node
{
âerrorMessageâ: âForbidden - perhaps check your credentials?â,
âerrorDescriptionâ: âForbiddenâ,
âerrorDetailsâ: {
ârawErrorMessageâ: [
â403 - "{\"message\":\"Forbidden\"}\n"â
],
âhttpCodeâ: â403â
},
ân8nDetailsâ: {
ânodeNameâ: âHTTP Requestâ,
ânodeTypeâ: ân8n-nodes-base.httpRequestâ,
ânodeVersionâ: 4.4,
âitemIndexâ: 0,
âtimeâ: â25/02/2026, 14:19:01â,
ân8nVersionâ: â2.8.3 (Cloud)â,
âbinaryDataModeâ: âfilesystemâ,
âstackTraceâ: [
âNodeApiError: Forbidden - perhaps check your credentials?â,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected] _asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:864:16)â,
" at processTicksAndRejections (node:internal/process/task_queues:103:5)â,
" at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected] _@opentelemetry+exporter-trace-otlp_9f358c3eeaef0d2736f54ac9757ada43/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1043:8)â,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected] _@opentelemetry+exporter-trace-otlp_9f358c3eeaef0d2736f54ac9757ada43/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1222:11)â,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected] _@opentelemetry+exporter-trace-otlp_9f358c3eeaef0d2736f54ac9757ada43/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1659:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected] _@opentelemetry+exporter-trace-otlp_9f358c3eeaef0d2736f54ac9757ada43/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2302:11"
]
}
}
Information on your n8n setup
n8n version: 2.9.2
Database (default: SQLite): Cloud
n8n EXECUTIONS_PROCESS setting (default: own, main): own
Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
Operating system: Windows 11
1 Like
A_A4
February 25, 2026, 9:41am
2
Shashank_Bindulbavi:
Share the output returned by the last node
{
âerrorMessageâ: âForbidden - perhaps check your credentials?â,
âerrorDescriptionâ: âForbiddenâ,
âerrorDetailsâ: {
ârawErrorMessageâ: [
â403 - â{"message":"Forbidden"}\nââ
],
âhttpCodeâ: â403â
},
ân8nDetailsâ: {
ânodeNameâ: âHTTP Requestâ,
ânodeTypeâ: ân8n-nodes-base.httpRequestâ,
ânodeVersionâ: 4.4,
âitemIndexâ: 0,
âtimeâ: â25/02/2026, 14:19:01â,
ân8nVersionâ: â2.8.3 (Cloud)â,
âbinaryDataModeâ: âfilesystemâ,
âstackTraceâ: [
âNodeApiError: Forbidden - perhaps check your credentials?â,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected] _asn1.js@5_8da18263ca0574b0db58d4fefd8173ce/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:864:16)â,
" at processTicksAndRejections (node:internal/process/task_queues:103:5)â,
" at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected] _@opentelemetry+exporter-trace-otlp_9f358c3eeaef0d2736f54ac9757ada43/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1043:8)â,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected] _@opentelemetry+exporter-trace-otlp_9f358c3eeaef0d2736f54ac9757ada43/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1222:11)â,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected] _@opentelemetry+exporter-trace-otlp_9f358c3eeaef0d2736f54ac9757ada43/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1659:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected] _@opentelemetry+exporter-trace-otlp_9f358c3eeaef0d2736f54ac9757ada43/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2302:11"
]
}
}
Information on your n8n setup
n8n version: 2.9.2
Database (default: SQLite): Cloud
n8n EXECUTIONS_PROCESS setting (default: own, main): own
Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
Operating system: Windows 11
Hi @Shashank_Bindulbavi
looks like you accidentally hardcoded angle brackets into your authorization header.
if you look closely at your second screenshot, the expression is set to Bearer <{{ $json.token.trim() }}>. that makes n8n send the literal < and > characters wrapped around your token. postman doesnât do that when you use its built-in bearer auth tab â it just sends the raw string.
just drop those brackets from your value field so the expression is exactly Bearer {{ $json.token.trim() }}.
also, you might want to strip the trailing slash off your URL just in case. your postman url ends in .../v1.0.0 but your n8n url has .../v1.0.0/. some strict apis instantly throw a 403 forbidden error if they see an extra slash at the end.
Hi @A_A4 ,
I have done both, Removed <> and the / in the URL. This is just one of many things that I tried and still the same 403!
Looks like Forcepoint API doesnât like the n8nâs IP?
A_A4
February 25, 2026, 11:02am
4
@Shashank_Bindulbavi If Forcepoint does have any âtrusted sourceâ / IP / network controls on that API, whitelisting n8n Cloudâs IP ranges is the most likely fix.
some APIs issue tokens bound to client / redirect / audience that can differ between environments and return 403 even when the token string âlooks validâ.[HTTP common issues ]
jitesh
February 26, 2026, 2:46am
5
Upon looking carefully, I noticed youâre using different tokens on Postman vs on n8n.
Postman one starts with â12â while the n8n one starts with âfp_oidcâ
try the exact some token
remove the angular brackets (<>)
remove the forward slash (/)
Let us know how it goes.
Hi @jitesh - Thatâs probably because its the middle/end part of the token! All 3 have been validated and its still the 403 error!
Hi @A_A4 , Thanks will have a read through and see if I have any luck with it today!
Looks like this is related to Forcepoint Whitelisting the IPs when I checked with them!
Reference: [n8n Cloud] How to Whitelist n8n Cloud IPs for Accessing In-House APIs
1 Like