What was the major reason why African countries could neither actively join World War 1 nor World War 2?

by Ben-Kenzo-Michael
Bernardito

Could you elaborate your question? African nations and colonized territories played a visible part in both world wars and supplied soldiers in the tens of thousands in both conflicts.