Code stopped working after update

Since our most recent upgrade to 2024.1.8 the following code no longer returns any information. No syntax errors or anything. It just doesn’t return a path anymore. Does anyone know if something has changed with the usage of this?

CallService<Ice.Contracts.ServerPathSvcContract>(serverPathSvc =>
{
    List<Ice.Lib.ServerPath.Types.PathInfo> pathInfo = new List<Ice.Lib.ServerPath.Types.PathInfo>();
    
    pathInfo = serverPathSvc.GetPaths(Epicor.ServiceModel.Utilities.SpecialFolder.CompanyData, "", false);
    
    if(pathInfo.Count > 0)
    {
        string path = $"{pathInfo.First().FullName};
  
    }
});

Where are you calling it from, Jason?

The path is now relative, and gives the root.

1 Like

From a function. I’ve isolated just this portion from another function so I could try to figure out what was going on with it.

Forgive my ignorance please but why does that mean it doesn’t return any data any longer?

When I ran this in 2024.1.8 from REST, I get data. If I put a leading ‘/’, I got a 401. If I provided a folder, I got the folders: