You need your 2018 AGI to efile 2019. The AGI is on 2018 1040 line 7. If you filed a Joint return you use the same AGI for each spouse.
How to find the AGI.
https://ttlc.intuit.com/community/agi/help/how-do-i-find-last-year-s-agi/01/25947
When did you file 2018? If it was late in the year try putting in zero for the AGI. And see, https://ttlc.intuit.com/community/rejections/help/what-if-i-entered-the-correct-agi-and-i-m-still-getting-an-e-file-reject/00/27031
If your spouse died during 2019 there is a problem efiling and you will have to mail your return
How to correct the AGI
https://ttlc.intuit.com/community/agi/help/where-do-i-correct-my-agi-in-turbotax-online/00/26311
If you can’t get it to efile you will have to print and mail it.
How to mail a return from the Online version
https://ttlc.intuit.com/community/printing/help/how-do-i-print-and-mail-my-return-in-turbotax-online/00/26258
Be sure to attach copies of your W2s and any 1099s that have withholding on them. You have to mail federal and state in separate envelopes because they go to different places. Get a tracking number from the post office when you mail them for proof of filing.
For AGI Reject code 031
https://ttlc.intuit.com/community/rejections/help/e-file-reject-ind-031-04-or-ind-032-04-the-agi-or-self-select-pin-from-last-year-doesn-t-match-irs/00/27197
https://ttlc.intuit.com/questions/1900840-how-do-i-find-last-year-s-agi
If you can't find it in TurboTax, you can download a transcript of the return from the IRS: https://www.irs.gov/individuals/get-transcript
Sometimes the correct AGI will not match the AGI in the IRS database. If that is your situation, try entering the number 0 in place of the AGI. That will often work.
If it doesn't work, you will have to print and mail your tax return.