[MDL-25780] Fixed missing error string substitution