I was married in 2024, currently divorced. I don’t have my ex’s SSN for my taxes. Can I file without it?

We were married as of December 31, 2024, so I had to add him while doing my taxes. We got divorced earlier this year, and I filed separately, but I’m still being asked to provide his SSN, which I don’t have. How do I continue without it?