Weclapp Authorization Error

Dear all,
I get an auth error whenever I try to connect to the weclapp api:

Error message:

{
“errorMessage”: “Authorization failed - please check your credentials”,
“errorDetails”: {
“rawErrorMessage”: [
“401 - {"detail":"no identity available","error":"unauthorized","status":401,"title":"missing permission","type":"/webapp/view/api/errors.html#!/errors/unauthorized"}”
],
“httpCode”: “401”
},
“n8nDetails”: {
“nodeName”: “Get Weclapp Data”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 1,
“itemIndex”: 0,
“time”: “3/13/2025, 8:43:02 PM”,
“n8nVersion”: “1.74.3 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Authorization failed - please check your credentials”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js:854:27)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:632:19)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:872:51”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1206:20"
]
}
}

++++++++++++++++++++++++++++++++++++++++++++++++++++

Credential = “Beaver API_TOKEN”:

+++++++++++++++++++++++++++++++++++++++++++++++++++

Any idea why I can not connect to weclapps API with n8n?

1 Like

Hi @ste, welcome to the community.
The weclapp api documentations says they are using a non-standard authorization token and you have to provide this header AuthenticationToken: {api_token}
In your credentials you put Authorization as the name of the token. You should change it to AuthenticationToken

It works like a breeze now! Thank you, @Ventsislav_Minev !

1 Like

Glad that it helped @ste . :raised_hands:
Can you please mark my comment as the solution? It will help my rank in the community and it will help other people find this if they run into the same issue.