Retirement tax questions

@macuser_22 

I'm in a similar situation. Made a roth contribytion for 2020 in January 2021. It was an excess contribution. I withdrew it and gain. Do I report it in 2021 or 2020?

I found this online: https://www.wolterskluwer.com/en/expert-insights/ira-reporting-excess-contributions-and-recharacteri...

It says report in 2021 is this wrong?

Thank you!