use correct namespace in ApiErrors