title: MongoDB distinct query on MongoLab
body: <p>I have database XXX and collection YYY in MongoDB (using MongoLab). </p>
  
  <p>Here is a sample record:</p>
  
  <pre><code>{
   "_id": {
      "$oid": "551a5asdfsdfsdfs"
   },
   "_class": "com.test.com",
   "mvid": "d0fffsdfs"
  
  }
  </code></pre>
  
  <p>I would like to retrieve all distinct values of the field "mvid". Here is what I write in search box</p>
  
  <pre><code>XXX.YYY.distinct("mvid")
  </code></pre>
  
  <p>I get back the following error:</p>
  
  <p>"We encountered an error while parsing your JSON. Please check your syntax   (e.g. ensure you are using double quotes around both your field names and values) and try again."</p>
  
  <p>What am I doing wrong?</p>