I can only ever get this to work by signing into appleid.apple.com on the web browser. Should be a spot right on the first menu for App Specific Password
Pretty sure it is a bug. Use a different browser and it should work fine, I used edge. I got apple support on the phone and this was this solution. Was not interested is making a bug report, just suggested I leave feedback which is just like pissing into the wind.