After you file

There is a good possibility that the IRS does not have your 2021 AGI in their database due to all the issues the IRS had with 2021 tax returns.

Try entering a 0 (zero) for the 2021 AGI and e-file the 2022 tax return again.