If 'PINTypeCode' in the Return Header has the value "Self-Select On-Line", and 'SpouseDateOfBirth' has a value, then 'SpousePriorYearAGI or 'SpousePriorYearPIN' must have a value.
This error means that you have left out a required piece of data on the PIN page for the SPOUSE on the return,
Log into your return, go to the Self Select PIN tab in the left margin (or click on "fix PIN errors").
For the primary and spouse, the prior year PIN or AGI ( Adjusted Gross Income) is required and a current year PIN.
The prior year AGI for anyone who filed married filing joint in the prior year will be the same amount for both, not divided between them.