If you are attempting to join a team session and are seeing this error, it is likely that you were added to the team AFTER the team was registered for the race session.
In order to join a team in a race, you must have been a member of the team BEFORE the team was registered for the session.