A Terracotta error code means that Minecraft isn't able to sign into your Microsoft account. Make sure your version of Minecraft is up to date, and double-check that your sign in details are correct. Then continue to attempt to sign in for a couple of minutes, after which you should be able to push past the error and get back to the game.