ui365
April 25, 2025, 12:37pm
1
Hello everyone,
I’m having trouble connecting to my Azure Cosmos DB account in n8n. I’m getting an “ENOTFOUND” error when trying to connect.
Details:
Account URL: https://MonNomDeRessource.documents.azure.com:443/
Database name: M365-MyDBName
I can successfully connect to this database using PowerShell
When I try the MongoDB connection format, I get “Unable to determine the resource type from the URL”
Can anyone advise on the correct connection format to use in n8n for Azure Cosmos DB? Perhaps I’m missing something in the configuration.
Thank you!
Information on your n8n setup
**n8n version: 1.89.2
**Database (default: SQLite): SQLite
n8n EXECUTIONS_PROCESS setting (default: own, main):
**Running n8n via n8n cloud
**Operating system:
I think that filed is account , not connection string (URL)
ui365
April 25, 2025, 1:23pm
3
Yes indeed, but in Azure I don’t have fields with this information. I’m trying to figure out what to put in this section.
maybe try instance details - account name ?
ui365
April 25, 2025, 1:38pm
5
I have try it and it’s not really that but on Microsoft, there are not Account name. I have try onmicrosoft address, teanant ID, Application ID, endpoint URL…
Actually nothing works and there are no documenation for this node on n8n help page…
ui365
April 25, 2025, 7:52pm
6
I just found the solution. You need to put the name of the Cosmos DB resource that we provided in Azure in the account.
1 Like
system
Closed
May 2, 2025, 7:53pm
7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.