[DF-2521] Fixed wrong error messages