...
Rule Text: The Primary SSN in the Return Header must not be the same as the Spouse SSN on another return for the same tax year with filing status married filing jointly.
In order to To correct the error, reference the DataValue (this indicates what person or number the rejection is related to). For more information, regarding how to view the details and data values related to rejections and refusals reference Viewing Reject and Refusals.
...
Possible Cause 2: The taxpayer is a victim of identity theft or preparer error and their return was filed elsewhere without their consent.
Resolution: If the taxpayer would still like to file with you and believes this is an error, collect payment up front upfront and paper file the return along with Form 14039.
...