Describe the problem/error/question
Hello,
i want to Update Credentials with the n8n API (PATCH Request).
This is the Body:
{
“data”: {
“json”: {
“headers”: {
“Authorization”: “Bearer 1234”
}
}
}
}
The Update works fine, the data is updated in the UI. But if i want to use the Credentials i get the Error “error”: “Invalid Custom Auth JSON”.
I need to open the Credentials in the UI add for example only add an space at the End and klick Save (without any other Changes) Then the Credentials works perfectly fine.
What is the error message (if any)?
Please share your workflow
Share the output returned by the last node
[
{
“error”: “Invalid Custom Auth JSON”
}
]
Information on your n8n setup
- n8n version: 2.10.4
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Debian 13