It depends. If I understand your question, you have the same amount included in income twice. Double the amount you received for the installment payments in 2024, is included on your tax return. If this is the case, first, in Step-by-Step, see if you can remove the Investment. Otherwise, you may need to go to Forms to remove the entry in one place or the other.
Any overrides may eliminate e-file as an option.