catched error when posting to an unknown reference in mongoDB

catched error when posting to an unknown reference in mongoDB
Added a limit in retrieving requests