dimanche 19 avril 2015

MongoError exception: FieldPath field names may not start with '$'

We just migrated our infrastructure on AWS from one account to another. The mongo version installed on the server is 2.4.9 I am new to MongoDb and faced the following 2 errors when I ran the web app -



{"name":"MongoError","errmsg":"exception: FieldPath field names may not start with '$'.","code":16410,"ok":0}


and



{"name":"MongoError","errmsg":"exception: the $cond operator requires an array of 3 operands","code":16019,"ok":0}


The web app was working on our previous instances. Can anyone point me in the right direction?





Aucun commentaire:

Enregistrer un commentaire