"If you get errors when attempting to e-file with an empty box D, just enter any number in this format: 5 digits, space, 5 digits (for example, 12345 67890). The IRS doesn't care what's in box D because its use by payroll departments is optional.
On the other hand, if you're trying to import your W-2 and you are asked for a Control Box D, and you don’t have one, select Skip import and manually enter your W-2. You won't be able to import using the 5 digit + space + 5 digit solution for e-filing."
https://ttlc.intuit.com/community/forms/help/i-have-no-box-d-or-control-number-on-my-w-2/00/26469