Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Writing to MongoDB Database Using Azure Cosmos DB Connector Not POSTing Correctly Using Flows

(0) ShareShare
ReportReport
Posted on by

Hello,


I am attempting to push form information to a cosmos mongodb database using Power Automate flows.  The user is to enter in some info, I generate a variable which is my JSON object and use Azure Comsos DB Connector to Create a new Document. When the flow runs, it tells me that it succeeded, however, the document in the DB does not contain any information and tells me "Unknown server error occurred when processing this request."  Below are attached some screenshots of my flow and connections.

 

bmmilerans_0-1665690026671.png

bmmilerans_1-1665690039145.png

Raw Input 

bmmilerans_2-1665690081747.png

Input body JSON 

bmmilerans_3-1665690112117.png

 

Output:

bmmilerans_4-1665690821869.pngbmmilerans_5-1665690831375.png

What I see in studio3t for mongodb

bmmilerans_6-1665690853535.png

 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics