Describe the problem/error/question
I’m trying to set up a Notion credential using the Internal Integration Token, but I consistently get an “Authorization failed” error in n8n.
I’ve verified that the token works in Postman — I can successfully query my Notion database there using the same secret and headers. But when I try to connect in n8n, it fails.
I am not using OAuth2, only the Notion API + internal integration token.
What is the error message (if any)?
Problem in node ‘Notion‘
Authorization failed - please check your credentials
Here’s the detailed error returned:
{
"errorMessage": "Authorization failed - please check your credentials",
"errorDescription": "This user's account is restricted from accessing the public API.",
"errorDetails": {
"rawErrorMessage": [
"401 - {\"object\":\"error\",\"status\":401,\"code\":\"unauthorized\",\"message\":\"This user's account is restricted from accessing the public API.\",\"request_id\":\"b90564f4-ae95-438b-ba88-a1833498bab8\"}"
],
"httpCode": "401"
},
"n8nDetails": {
"nodeName": "Notion",
"nodeType": "n8n-nodes-base.notion",
"nodeVersion": 2.2,
"resource": "database",
"operation": "get",
"itemIndex": 0,
"n8nVersion": "1.93.0 (Self Hosted)"
}
}
Information on your n8n setup
- n8n version: 1.93.0 (Self Hosted)
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker (with Traefik reverse proxy)
- Operating system: Ubuntu 22.04