C# aggregation failed to connect

Hi!
Currently im experiencing this error while trying to run an aggregation on my c# application:

MongoDB.Driver.MongoCommandException: Command aggregate failed: PlanExecutor error during aggregation :: caused by :: Remote error from mongot :: caused by :: Error connecting to localhost:28000 (127.0.0.1:28000) :: caused by :: Connection refused.

Can someone help me fix this error? I couldn’t find anything on the internet, or i don’t know how to look for a solution

Do you already have a search index created on your cluster?

Similar issue

I have, i even created another one named “default” and tryed to remove the bson document that calls the index, but still getting the same error

Do you have documents in the collection with the index defined? Can you see any data/it existing in the Atlas UI under the Search tab? I would also try running a query directly from there