Include invalid string in error message