New accounts (created after Dec 1, 2020) don't need a Mojang account! You'll just log in with a Microsoft account. As for the error you're seeing, are there any specific codes you see? When exactly does the error occur? ^NS
That's definitely odd! Unfortunately this screenshot doesn't give us any hints about what might be causing the issue, so we don't have any troubleshooting suggestions currently. Please do let us know if you see the error again so we can check that out! ^NS

Feb 24, 2022 · 4:53 PM UTC