The error can be seen from versions above 1.19.10.21, where (with the Xbox account or LAN Server) I could not access the friend's open map, and vice versa, in this version that I mentioned it works to play Multiplayer, but, for example, 1.19.10.22 didn't work, it always left the map saying that there was an error when entering, detail: the cell phone doesn't stop and the internet was good, and my friend's too, we thought it was our devices, but I saw that others had this same problem, I'll be grateful if they fix it in the next Beta 🙂
I tested this with a friend who plays on Mobile and another on PC, and it gave the same error for both, so it's likely that on almost all Bedrock Edition platforms
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-36190, 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 – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki