Don't pass $view to apiError.