Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unsupported model.optimizationObjective for 'similar-items' model

I'm trying to create a 'similar-items' model with an API call.

projects.locations.catalogs.models/create 

It seems that model.optimizationObjective value is always unsupported, also if avoided.

 

{
"error": {
"code": 400,
"message": "Unsupported model.optimizationObjective for type similar-items.",
"status": "INVALID_ARGUMENT"
}
}

 

I try every possible values present in Reference but nothing to do.
How to solve this issue?

2 REPLIES 2