You mean your 2022 AGI to e-file 2024? No, that will not work. You need your 2023 AGI.
Where do I find my AGI?
https://ttlc.intuit.com/community/agi/help/how-do-i-find-last-year-s-agi/01/25947
Your 2023 tax return shows your 2022 Adjusted Gross Income (AGI) If you filed a joint return then the AGI is the same for each of you.
Form 1040 line 11
If you did not file a 2023 return then try using zero as your AGI