I am Getting an error fitting RandomizedSearchCV

I’m getting this error (ValueError: not enough values to unpack (expected 3, got 2)
) when I fit RandomizedSearchCV. I don’t know what I’m doing wrong

Could you provide the full code snippet with the definition of the parameter distributions such that we can help?

This is what I’m doing

params = {
    "logisticregression__C": loguniform(0.001, 10),
    "columntransformer__num_preprocessor__with_mean": [True, False],
    "columntransformer__num_preprocessor__with_std": [True, False],
}

model_random_search = RandomizedSearchCV(
    model, param_distributions=params,
    n_iter=20, error_score=np.nan, n_jobs=2, verbose=1, random_state=1)
model_random_search.fit(data_train, target_train)

This definition seems fine. Could you provide the definition of model. I recall that if you miss a comma at the end of a line when defining the tuple transformer/column, it can give you such of a weird error.