I am trying to set credentials for n8n API but it´s not connecting. I’m using exact the same structure of n8n docs.
This one: <N8N_HOST>:<N8N_PORT>/<N8N_PATH>/api/v/workflows
I NEED HELP!
Information on your n8n setup
- n8n version: 1.84.3
- **Database (default: SQLite): **
- n8n EXECUTIONS_PROCESS setting (default: own, main): main
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu
Try without the /n8n
and /workflows
parts of the path. Unless you have explicitly configured n8n to run in a subpath, it would normally be http://hostname:5678/api/v1
If you are connecting within the same docker environment, try http://n8n:5678/api/v1
(assuming the n8n service is named “n8n” in docker-compose.yml).
Or, if from the same n8n instance (to itself), try http://127.0.0.1:5678/api/v1
It work @hubschrauber!! Thank’s for the support