Skip to content

Credential Menu not pulling saved credentials #28272

Description

@jordanwilliamsLT

Describe the problem/error/question

I am using Claude Code to build flows in n8n. The behavior/bug I am experiencing is after Claude code builds a new workflow, I manually reload the workflow in Chrome and then go in and make sure that the authentication credentials are correct for each node that is calling an API. The bug is that when I do that, the node in n8n seems to refuse to remember or connect to the credentials that I've saved within my account and asks me to enter new credentials. Upon testing, I've discovered that when I enter new credentials, they are saved correctly, but, as you might guess, I end up with multiple credentials for the same API.

What is the error message (if any)?

None

Please share your workflow/screenshots/recording

Here's the JSON of that node and it's clearly trying to pull a different saved Auth (a customer Header Auth I saved for Prompt Layer). But when a) that is not what is reflected in the UI (see screenshot) and b) when I try to update it in the UI, my saved Anthropic credentials don't show as available.

{
"nodes": [
{
"parameters": {
"method": "POST",
"url": "https://api.anthropic.com/v1/messages",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "anthropicApi",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "anthropic-version",
"value": "2023-06-01"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "=$json.claudeBody",
"options": {}
},
"id": "83527983-16db-47c3-ae84-57675b626fc3",
"name": "Generate Claude Overview",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1200,
304
],
"credentials": {
"httpHeaderAuth": {
"id": "xxxxxxxxxxxxxxxxxxx",
"name": "PromptLayer Connector"
}
}
}
],
"connections": {
"Generate Claude Overview": {
"main": [
[]
]
}
},
"pinData": {},
"meta": {
"aiBuilderAssisted": true,
"instanceId": "xxxxxxxxxxxxxxxxxxx"
}
}


<img width="751" height="482" alt="Image" src="https://github.com/user-attachments/assets/70e34f88-7722-43cf-aaaf-31515f8ec9aa" />
<img width="1223" height="919" alt="Image" src="https://github.com/user-attachments/assets/a7ae6952-3ecc-4a87-811a-18a584151b88" />

## Share the output returned by the last node
<!-- If you need help with data transformations, please also share your expected output. -->


## Debug info

### core

- n8nVersion: 2.15.0
- platform: docker (cloud)
- nodeJsVersion: 24.13.1
- nodeEnv: production
- database: sqlite
- executionMode: regular
- concurrency: 5
- license: enterprise (sandbox)

### storage

- success: all
- error: all
- progress: false
- manual: true
- binaryMode: filesystem

### pruning

- enabled: true
- maxAge: 168 hours
- maxCount: 2500 executions

### client

- userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/146.0.0.0 safari/537.36
- isTouchDevice: false

Generated at: 2026-04-09T18:35:03.537Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:in-linearIssue or PR is now in Linearstatus:team-assignedA team has been assigned the issue or PRteam:nodesIssue is with the Nodes team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions