Use the AGI found on your original return (meaning the first return you filed) instead of the AGI from the amended tax return when entering AGI for the Prior Year AGI screen.
If you're looking at your 2024 1040-X form, you'll find your original AGI on Line 1, Column A.
How do I find last year's Adjusted Gross Income (AGI)?
Where do I enter my prior year adjusted gross income (AGI)?
What do I do if I keep getting rejected after fixing my prior year AGI or PIN?