Returns all registered customers as advertised. The reason GetAllCustomers() appeared to work is that I was processing only the first 500 and the error was coming into play with:
var whatstate = _stateProvinceService.GetStateProvinceById(cust.GetAttribute<int>(SystemCustomerAttributeNames.StateProvinceId));
and use of whatstate.Name
apparently some bogus StateProvinceId data...
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.