Describe the problem/error/question
I am unable to connect Notion API to n8n despite following all official setup steps:
- Created an internal integration in Notion developer portal with capabilities: Read, Update, Insert content.
- Shared the target Notion database page with this integration, but the integration does not appear in the database’s “Share” menu in Notion UI.
- Created a Notion API credential in n8n using the Internal Integration Secret from Notion.
- When testing the connection or making a request, I get an authorization error about invalid API token.
- The Notion integration and database belong to the same workspace.
I need help understanding if I missed any step or if this is a bug with n8n’s Notion integration.
What is the error message (if any)?
Authorization failed - please check your credentials
API token is invalid.
Please share your workflow
[
{
"parameters": {
"authentication": "predefinedCredentialType",
"url": "https://api.notion.com/v1/databases/{database_id}/query",
"options": {},
"responseFormat": "json",
"predefinedCredentialType": "notionApi"
},
"name": "HTTP Request1",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [450, 300]
}
]
Share the output returned by the last node
{
"errorMessage": "Authorization failed - please check your credentials",
"errorDescription": "API token is invalid.",
"errorDetails": {},
"n8nDetails": {
"nodeName": "HTTP Request1",
"nodeType": "n8n-nodes-base.httpRequest",
"nodeVersion": 4.2,
"n8nVersion": "1.92.2 (Self Hosted)",
"stackTrace": [...]
}
}
Information on your n8n setup
- n8n version: 1.92.2 (Self Hosted)
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via: Docker
- Operating system: Ubuntu 22.04
Additional notes:
- The integration token is copied directly from the Notion developer portal.
- The Notion database page was shared with the integration, but the integration does not appear in the Notion UI sharing list (see screenshots).
- I am confident the token is valid and that permissions are sufficient.
- Any ideas or troubleshooting tips would be appreciated.