Change error message to match the format of ApiTeamDetails