After you file

I entered $1000 winnings on federal return and then $1000 loss ( losing tickets). The $1000 earnings did not however show on the the summary page of income, deductions, etc. The data did transfer to the MA state form, with winnings on Schedule X and loss and Schedule Y. However an error message ( no code) popped up saying that a loss could not be claimed as their were no winnings. This is despite winnings showing in the correct place. I double checked all my entries on the federal form and all are correct. I cannot file with an error, and I have to claim as I have a W2 G.

Please advise, I appreciate the help.