I am curretly struggling with connecting my MongoDB with UiPath. As already mentionend in this forum.
It generally works until the part where I want to store a new object in the DB:
var document = new BsonDocument("x", 1); collection.InsertOne(document);
When I want to insert it I get the following error:
Invoke code: Exception has been thrown by the target of an invocation.
Do you know, why I might get an exception?
Thanks for your help!