Filed electronically in 2022 but didn't file in 2023

Hi, My daughters filed electronically in 2022 but didn't have income and didn't file in 2023. When we tried to file electronically in 2024 we used $0 for the 2023 AGI but it was rejected. Should we enter the 2022 AGI?