Error: Error: id=doc is not a sha1 hash