can you share the pymilvus version you are using? I checked the pymilvus code on 2.5 and found that it does not match the error message. If the matching SDK version is not used here, it is recommended to upgrade the SDK version to 2.5.