milvus-io/milvus-sdk-node

type param(max_length) should be specified for varChar field of collection

smartmeng opened this issue · 0 comments

Describe the bug:
{
"error_code": "UnexpectedError",
"reason": "type param(max_length) should be specified for varChar field of collection AxVPo4A4QVqxx"
}
Steps to reproduce:
我的数据如下但是报错了
{
name: "noteId",
is_primary_key: true,
description: "",
data_type: DataType.VarChar,
type_params: {
max_length: "32"
}
}

Milvus-node-sdk version:
2.2.4
Milvus version:
我用的是zilliz云