Last year we filed on my wife's account so all our info is there. We just accidentally filed on my account instead and it was rejected. Can we file on hers instead?

It asked for the AGI on our 2022 tax return. We entered that and it was still rejected saying they needed my spouse's AGI from 2022. We filed jointly so it wouldn't be just hers.