Can I resubmit my taxes online if mail in did not work?

I mailed in my 2021 tax return with my wife’s form W7, request for ITIN which was rejected as she didn’t have the necessary documents. Now because of that I haven’t heard anything back on my 2021 tax return. What can I do to fix it? I have called IRS and no one has been able to give me guidance or connect with the right department.