Retirement tax questions

Code 2 is Early distribution (except Roth), exception applies.  Code B is Designated Roth account distribution.  The two codes are mutually exclusive so code B is not valid.  
Contact the payer of the 1099-R and get a corrected Form 1099-R.