title: MongoDB Compass Community: $match in aggregation gives “Expected ”[“ or AggregationStage but ”{“ found.”
body: <p>I'm using MongoDB Compass Community version 1.17.0.
  While trying to use <code>$match</code> as the first step, it's giving me this message</p>
  
  <p><a href="https://i.stack.imgur.com/FjRSV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FjRSV.png" alt="enter image description here"></a></p>