How do I get on a Minecraft PE server when it says 'invalid name'?

I am having trouble getting onto a server in Minecraft PE on iOS. When I tap on the person's server it just says invalid name:

enter image description here

I have tried turning off and restarting the iPad, going to home screen and logging back into the server but I have had no luck and no change. Is there a reason why this is so?


Solution 1:

My kids had this problem after the update. Exit the game to the title screen, go into settings, and change your name to one without spaces or special characters. Then it will let you join other worlds again.