I am getting import failed error while executing import script.

This is the error message I got in logs:

PackageDeployer Error 2 26-11-2021 14:06:26 Message: Failed to load solution IRIS Core with version 0.2021.1020.1953. Message: Field not found: 'Microsoft.Xrm.Tooling.Connector.ImportSolutionProperties.ISTEMPLATEMODE'. Source : Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageCore Method : ExecuteImportSolution Date : 14:06:26 Time : 26-11-2021 Error : Field not found: 'Microsoft.Xrm.Tooling.Connector.ImportSolutionProperties.ISTEMPLATEMODE'. Stack Trace : at Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageCore.ImportCode.BaseImportCustomizations.ExecuteImportSolution(ConfigSolutionFile Sol, String sSolutionImportFilePath)

I am not able to figure out the cause of the error, could you help with this?