After you file

Try changing the 2023 AGI to 0 (zero) for your spouse and e-filing again.  If that also fails then change the 2023 AGI to 0 for both of you and e-file again.  If that also fails then you will have to print and mail your tax return.