If you use a separate dummy code for every level of a categorical predictor and there is an intercept in the model, this leads to perfect multicollinearity. This is known as the "dummy variable trap".
See Qualitative variable coding in regression leads to “singularities” for an explanation.