Roth IRA Contribution

I retired in 2023 but got a bonus check in 2024 which was reported on a W-2. I want to make a contribution to a Roth IRA of the amount received (the amount is below the max contribution limit), but Turbo Tax indicates I do not qualify for a Roth contribution. I am married filing jointly and income is below the $230,000 threshold. Why is Turbo Tax indicating I cannot make a Roth IRA contribution?