String error

From #1640.