Hello, I hope you are doing well
If you are talking about boards, then no minute mistakes like these won't affect your result that much and certainly your paper won't be cancelled.
Mistakes such as wrong date, question paper code not written are rectified by the invigilator before the final submission of answer sheets from his side.
So, don't bother yourself by thinking that your paper will be cancelled.
Hope this helps.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile