Limit msg-siz for InvalidDataError