Error: couldnot find document in repository