I play on Nintendo Switch Lite. After the 1.16.40 Hotfix update, when joining a friends world after 5-10 minutes of playing it says Error and kicks me off the world. I am then taken to the minecraft home screen and told to log into my Microsoft account again. I click that and log in and then realize whatever friend I was playing with needs to re-login to their account too. Sometimes when I try to login again it says I am unable to log in. The other worlds I have joined where this happens are from friends playing on nintendo switch, ps4, and windows 10 with bedrock.
Related issues
duplicates
Comments

Thank you for your report!
We're actually already tracking this issue at MCPE-95651, so I will resolve and link this ticket 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:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki