Per IRS: "If each spouse has family coverage under a separate plan, the contribution limit for 2024 is $8,300." I In other words, the maximum for both of you together is $8,300.
See: Rules for married people
If you contributed $4,150 or less, and you are still getting an error, in the HSA interview, make sure you've indicated she was covered by a HDHP.
