Gonna need some more information from you to help with this one and understand if it's an actual problem or just a result of the patches still deploying.
What platform are you on? Have you updated your client? Has the friend you are attempting to join also updated their client?
We sustain servers for a short period between patches rather than kick everyone out so there's always the possibility that you're joining on someone who is on a different version.