Your 2023 AGI is located within your prior-year tax documents Form 1040, Line 11.
There are a few reasons why your AGI, even if it's correct, it might not work, such as if your 2023 return was processed after April 15th, 2024. In this case, you can try putting "0" for the AGI. See the link below for more details and scenarios. If after trying with "0" it keeps getting rejected, you will have to paper-file your return.
How do I find last year's AGI?
How do I fix e-file reject IND-031-04 or IND-032-04?