catched error when posting to an unknown reference in mongoDB