Describe the problem/error/question
Hi community, I am hosting n8n myself and am encountering problems with my stored OAuth2 API credentials (in this particular case connecting to the Microsoft Sharepoint API incl. OAutch Redirect URL, Grantype = Authorization Code, Authorization URL is set, Access Token URL is set, Client ID is set, Client Secret is set and Scope = https://graph.microsoft.com/.default).
When I create the credential right out of a node of my workflow I get it to work for that node (in this case a http request node) and the GET request is successful. All fine.
The problem is that: once I go to my list of credentail and rename the credential OR try to use the exact same credential in another node it stops working and i receive an error in the node where i want to use the credential (see below). Even in the node it previously worked fine. From the error I assume that something is wrong with the access token however its set correctly (and previously worked fine before renaming the cerdential or trying to use it somewhere else).
What is the error message (if any)?
Unable to sign without access token
Item Index 0
Node type n8n-nodes-base.httpRequest
Node version 4.2 (Latest)
n8n version1.74.3 (Self Hosted)
Stack trace
NodeApiError: Unable to sign without access token at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1297:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1480:20)
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.74.3 (Self Hosted)
- Database (default: SQLite): postgres
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: linux arm