model|endpoints: make error messages more user friendly