The error code reads something along the lines of "cannot join reals or servers because of how account is set up" but it was working before so I thought maybe something change so I basically allowed all my settings and still didn't work. I got on with Microsoft support we tried everything for about 45 mins he sent me to mojang support and the person I was chatting with believed it's a bug. So that's why I'm here now and I'm not sure what to do.
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-29304, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki