n8n errors / Auth

Request failed with status code 403

platform: n8n / category: Auth / code: 403

Cause

The server refuses to authorise the request, commonly because n8n's IP or user-agent is blocked by a WAF/Cloudflare or the API key lacks scope.

Fix

If the endpoint is behind Cloudflare, add CF-Access-Client-Id/Secret headers or whitelist n8n's IP. Verify the key has the required scopes. Add a realistic User-Agent header to bypass basic bot-detection. On self-hosted n8n, confirm the credential was not overwritten after an upgrade.

Source thread →

Part of the Automation Error Index — n8n errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem