C# browse method not working

Hi There,
I want to query all of my index objects ID, but I’m getting the error: "Unable to evaluate expression " Here’s the function I’m trying to implement:

public List GetAlgoliaProducts()
{
List lstProducts = new List();
try
{
SearchClient client = new SearchClient(“LHLPD5B9OK”, “d47846c40b707e6124b3dfedd9d04090”);
SearchIndex index = client.InitIndex(“Medisca_Products”);
/IndexSettings settings = new IndexSettings { AttributesToRetrieve = new List {"" }};
index.SetSettings(settings);*/
IndexIterator indexIterator = index.Browse(new BrowseIndexQuery { AttributesToRetrieve = new List { “objectID” }});
foreach(var hit in indexIterator)
{
lstProducts.Add(hit.ToString());
}
}
catch
{
lstProducts = new List();
}
return lstProducts;
}