MongoDB Atlas connection in ADF fails

fortoajit 5 Reputation points
2023-12-21T11:37:47.6666667+00:00

I am trying to connect to MongoDB atlas in ADF to ingest data from collection.

I am getting an error like below;

Cannot get required property with key 'collections' in Bson: { "db" : "workbench", "collections" : NumberLong(5), "views" : NumberLong(0), "objects" : NumberLong(61723), "avgObjSize" : 3262.6839427765985, "dataSize" : 201382641.0, "storageSize" : 33226752.0, "indexes" : NumberLong(8), "indexSize" : 3747840.0, "totalSize" : 36974592.0, "scaleFactor" : NumberLong(1), "fsUsedSize" : 14534578176.0, "fsTotalSize" : 21464350720.0, "ok" : 1.0, "$clusterTime" : { "clusterTime" : Timestamp(1703249788, 5), "signature" : { "hash" : new BinData(0, "GKRN0HThTvrUTK7KvSwXTw5oE7E="), "keyId" : NumberLong("7269158910697668610") } }, "operationTime" : Timestamp(1703249788, 5) }.

connection string

mongodb+srv://<USR>:<PWD>@<CLUSTER>.8ddkv.mongodb.net/

Atlas have open connection to the internet. means below like this added in network access

IP AddressCommentStatusActions0.0.0.0/0  (includes your current IP address)

User's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,708 questions
{count} vote