Error trying to resolve Service X or one of its autowired dependencies

We’re getting this exception when running on OSX and windows using .Net Core. When we look that the Exception, we see the InnerException being set to NULL.

Some REST calls work and others throw this Exception.
Also are using the HostConfig Debug

SsHost = SsContainer.Init();
SsHost.SetConfig(
new HostConfig
{
DebugMode = true,
ReturnsInnerException = true
}
);

Anything else we should try to point us to the problem?

It means you have a dependency issue where it can’t load all the dependencies and Types used in that Service. Make sure all dependencies of your Service are properly registered in the IOC.

You can also try calling HostContext.ResolveService with your Services Type to test resolving the Service from the IOC.