Include value length in error message