Description
When running the Calculate Locations tool using a sublayer of a network analysis layer as the input features, the Travel Mode parameter should not be set.
Solution
Do not set a value for this parameter. When network locations are calculated, the network analysis layer's current travel mode will automatically be used.