Retirement tax questions

Do you both have earned income from W2 wages or a Net Profit from self employment income?  Otherwise it's an excess contribution.  Be sure each contribution and income is assigned to the right spouse.