Another Newbie Question folks:
setting up my workflow to our KB4 instance. Have created the necessary API Key and also tested via Postman - works like a charm:
curl --location ‘https://eu.api.knowbe4.com/v1/account’
–header ‘Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’
When I copy and paste the curl - yes including the Bearer Key - above into N8N I get a 406 error
I have tried it as well with “Generic Authentication” and “Bearer” but same results.
What am I missing ?
Thx
MG
{
"nodes": [
{
"parameters": {
"url": "https://eu.api.knowbe4.com/v1/account",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer xxxxxxxxxxxxxxxxxxxxxxxx"
}
]
},
"options": {
"redirect": {
"redirect": {
"followRedirects": false
}
}
}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
208,
0
],
"id": "864ed5b4-0ff8-4148-90f3-41bde1907a32",
"name": "HTTP Request"
}
],
"connections": {},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "96b1994456471e2602e2e247ae8b3690eb8ffcfe04274d85a98190e2f2154798"
}
}
## Information on your n8n setup
- **n8n version: 1.106.3
- **Database (default: SQLite):Postgres
- **n8n EXECUTIONS_PROCESS setting (default: own, main): own
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- **Operating system: Ubuntu 24.02.03 LTS