rejected returns for agi

i am doing my grandparents taxes, grandpa passed away in august 2019. I did there taxes and submitted. was told they were rejected and to enter AGI. I entered the AGI from 2018 and it still rejects there return says AGI incorrect.