Well, there can be various reasons behind connection problem or Invalid MMI code errors. The major reason is the carrier provider or even SIM card damage can lead to such an issue. This error is very common on dual SIM phones.