Since the 2020 return has not been processed you can enter a 0 (zero) for the 2020 AGI and e-file the 2021 tax return.
Wrong, my 2020 return was mailed an has not been processed. I tried electronic filing the 2021 return with zero for 2020 AGI and it gets rejected because the 2020 AGI is incorrect.
If it was rejected for AGI—-be aware that many 2020 returns took so long for the IRS to process that your 2020 AGI might not be in the IRS system. Try using zero instead.
If filing with zero is rejected then file again but select the option that you did not file last year. The IRS does not see that question and it will allow you to e-file with no AGI question.
https://ttlc.intuit.com/community/agi/help/where-do-i-correct-my-agi-in-turbotax-online/00/26311
If that does not work and you still cannot e-file, then print, sign, and mail your tax return.