Dust Community Icon

Troubleshooting Dust Agent 401 Error in n8n API Connection

·
·

Hey! I'm trying to connect my Dust agent to n8n, I have added all the info but I get a 401 This is the first time I use the API, maybe I missed a step in the billing process ?

  • Avatar of Alexandre Quillacq
    Alexandre Quillacq
    ·
    ·

    AxiosError: Request failed with status code 401 at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:19:12) at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:599:11) at IncomingMessage.emit (node:events:536:35) at endReadableNT (node:internal/streams/readable:1698:12) at processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/Axios.js:45:41) at processTicksAndRejections (node:internal/process/task_queues:95:5) at invokeAxios (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/node-execution-context/utils/request-helper-functions.js:173:16) at Object.httpRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/node-execution-context/utils/request-helper-functions.js:669:20) at ExecuteContext.execute (/home/node/.n8n/nodes/node_modules/n8n-nodes-dust/nodes/Dust/Dust.node.ts:279:24) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:681:27) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:915:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1246:20

  • Avatar of Alexandre Quillacq
    Alexandre Quillacq
    ·
    ·
  • Avatar of Alexandre Quillacq
    Alexandre Quillacq
    ·
    ·
  • Avatar of Léo Martin
    Léo Martin
    ·
    ·

    Hey Alexandre, Did you try switch the region to US ? I had this bug too

  • Avatar of Alexandre Quillacq
    Alexandre Quillacq
    ·
    ·

    Thanks 🔥 🔥 It works Is it just a bug? Or does it mean our servers are located in the US?