*Earlier this week we told you that rapper The Game was detained by Canadian authorities and prevented from entering the country. Now we find out, via tmz, that the reason he was sent back to good ol’ USA is because of his alleged gang affiliation. Hmm, surprise, surprise. There’s a reason he’s wearing that red cap.

A rep for Substance Entertainment Group — the promotion company behind Game’s tour in Canada — tells TMZ, the tour promoter got a call from Canadian Customs while Game was on the plane on his way to Canada.

We’re told customs informed the promoter that Game would be denied entry “due to new information received that Game is affiliated with organized crime and is an active member of the Bloods street gang.”

The rep claims Game was blindsided by the last-minute red flag — telling us, concert organizers had secured all permits and approval weeks ago to get Game into the country.

Bad news for everyone who bought a ticket to his upcoming Canadian shows — tour’s canceled.