Cosmosdb query is not working on Logic Apps

Viewed 1243

I have a cosmos db database with a simulations collection and If i make this query on the portal i got some results:

query1

But in my logic app I got [] documents, the same query and the same collection:

enter image description here

But returns nothing. Why this behaviour?

2 Answers

It should work as expected, just created your scenario and it works fine on my side. Make sure your connection databaseId is correct.

enter image description here

Is your Cosmos DB located in the same region as the Logic App? I'm experiencing the same problem and I think this might cause it.

Related