The best way to get your W-2 is from your employer. If you can't get access online you can contact your employer to try and get the correct code or a copy of the W-2.
If you can't then
you can try to get a copy from the IRS or SSA.
How to get copies of W-2's
How-can-I-get-a-copy-of-my-wage-and-tax-statement
You could also try to import, but you may need information from the W-2. Or you can also try to file your return using a substitute W-2. See the TurboTax FAQ below for more information about filing using a substitute W-2.
https://ttlc.intuit.com/replies/5451995