Android call guides NoDial
NoDial app →
English
Call barring & errors

"Connection Problem or Invalid MMI Code": What It Means and How to Fix It

NoDial Editorial / 2026-11-1914 min read

You dialed a code that starts with * or # (to check your balance, set up call forwarding, turn on call waiting, or change call barring) and instead of an answer, your phone showed "Connection problem or invalid MMI code." The message doesn't say which part went wrong, and it can mean anything from one wrong character to a code your carrier doesn't use. This guide explains what an MMI code is, the situations in which Android shows this exact message, how to narrow down the cause in a few minutes, and what to tell your carrier if it's on their side.

If the message appeared while you were turning call barring on or off, that case has its own detailed guide: Call Barring Not Working.

NoDial: Block Outgoing CallsBlocks calls to numbers you chooseGet it on Google Play NoCall: Blacklist Call BlockerBlock unwanted calls before they ring.Get it on Google Play

Current as of November 2026. The error wording and the situations that trigger it are confirmed against Android's public source code (AOSP), which Pixel and other stock-Android phones run close to. Samsung uses its own Phone app; where we couldn't confirm Samsung's own behavior, this guide says so.

1. The short answer

"Connection problem or invalid MMI code" is Android's general-purpose message for a dialed code that couldn't be carried out. It does not point to one cause. In Android's own source code, the same message is used when the phone can't process the code you typed, when your carrier refuses the request without a more specific reason, and when the request is dropped before an answer comes back. It does not mean your phone or your SIM card is broken.

KEY POINT

Start with what you can check yourself: whether the code is one your carrier actually uses, whether it's typed exactly, and whether the request can reach your carrier (mobile signal, the right SIM on a dual-SIM phone). Only after that is it worth contacting your carrier.

What you were doingPossible causesCheck first
Checking balance, minutes or data with a # codeThe code belongs to a different carrier or countryYour own carrier's code list (section 4)
Call forwarding (**21*, ##21#…)Format, roaming, or your carrier uses different codesUse the forwarding menu in the Phone app instead (section 5)
Call waiting (*43#, #43#)Carrier support or no mobile signalThe call waiting switch in the Phone app's settings
Call barring (*33*…)Password, carrier support, or call forwarding activeCall Barring Not Working
Any code, on Wi-Fi calling with weak mobile signalWhether your carrier accepts codes over Wi-Fi callingTry again where you have mobile signal

2. What an MMI code is

MMI stands for "Man-Machine Interface." It's the name the mobile standard (3GPP TS 22.030) gives to the codes you type on a phone keypad to control the phone or ask your carrier for something, instead of placing a call. The standard describes their shape: a code always starts with *, #, **, ## or *# and ends with #.

These codes fall into three groups, and knowing which one you used tells you where the failure happened:

That third group is where most confusion comes from. A code that works on one carrier can be meaningless on another, and code lists copied from websites rarely say which carrier or country they're for.

3. When Android shows this message

Android's source code defines the text "Connection problem or invalid MMI code." for a dialed code "whose function could not be performed." The phone's code handling (GsmMmiCode, and ImsPhoneMmiCode for VoLTE and Wi-Fi calling) shows it in these situations:

The phone couldn't process the code

The code had the shape of a standard service code (call barring, for example) but asked for something Android doesn't support for that service. In that case nothing is sent to your carrier. This is the narrowest of the three: almost any other code that ends with #, including a mistyped one, is passed on to your carrier as it is, and your carrier decides whether it means anything. A code that doesn't end with # isn't treated as a code at all; the phone tries to call it as a number.

Your carrier refused the request

When the network sends back an error that Android has no specific message for, it falls back to this one. A carrier that doesn't recognize the code, or doesn't offer the service on your line, can end up here. Because a mistyped code also reaches your carrier, a typo and a genuine refusal usually look exactly the same on screen.

The request was dropped

If the phone's radio resets while a request is still waiting for an answer, Android marks it as failed with this same message.

Some failures have their own message instead, which helps narrow things down:

MessageWhat it means
"Feature not supported."The network said the request isn't supported or isn't allowed on your current mobile network.
"Operation is restricted to fixed dialing numbers only."Fixed Dialing Numbers (FDN) is on and blocked the code. See Fixed Dialing Numbers on Android.
"Can not change call forwarding settings from your phone while you are roaming."Some carriers don't accept call forwarding changes while you're roaming.
"Incorrect password"With call barring codes, your carrier reported a wrong barring password.

So if you see "Connection problem or invalid MMI code" and not one of the messages above, Android didn't get a more specific reason, from either your typing or your carrier.

4. How to fix it, step by step

Work through these in order. Each step rules out one of the situations in section 3.

Step 1: Dial *#06# to test the phone itself

The standard requires every phone to show its IMEI for *#06#, even with no SIM inserted, so no carrier is involved. If your IMEI appears, your Phone app is accepting codes normally, and the places to look are the code itself and your carrier (the next steps).

Step 2: Make sure the code is your carrier's

Carrier codes differ more than most people expect, even for the same task. In the US, for example:

TaskT-MobileVerizonAT&T Prepaid
Check balance#BAL# (#225#)#BAL (#225), listed as a code to call*777#
Forward all calls**21*1+PhoneNumber#*72 + 10-digit phone number—
Stop forwarding##21#*73—

T-Mobile postpaid and prepaid even use #BAL# for different things (account balance on postpaid, the service cycle on prepaid, where #999# checks the balance). Look up the code on your own carrier's support site rather than a general list, and if you've switched carriers or are using a SIM from another country, assume old codes no longer apply.

Step 3: Retype the code exactly

Type the code yourself in the Phone app's keypad instead of pasting it, and check every * and #. A typo usually still reaches your carrier as an unknown code and comes back as this same message, so the screen won't tell you it was a typo. For codes that include a phone number, follow your carrier's exact format: T-Mobile's forwarding code, for instance, is **21*, then 1 and the phone number, then #.

Step 4: Dial on the right SIM

On a dual-SIM phone, a code goes to the carrier of the line you dial it on. A balance code for one carrier sent through the other SIM is unlikely to work. If your phone asks which SIM to use, pick the one the code belongs to; if it doesn't ask, check which SIM is set for calls.

Step 5: Have mobile signal, not only Wi-Fi calling

By default, Android sends carrier codes over the regular mobile network; whether they can also go over VoLTE or Wi-Fi calling depends on settings your carrier chooses, and you can't see those settings on the phone. If you're indoors on Wi-Fi calling with little or no mobile signal, try again somewhere with a few bars of mobile signal.

Step 6: Check Fixed Dialing Numbers

If you see the FDN message from section 3 instead, Fixed Dialing Numbers is blocking the code. Turn FDN off (you'll need your SIM's PIN2) and try again; the steps are in Fixed Dialing Numbers on Android.

Step 7: For forwarding, waiting or barring, use the menu

For call forwarding and call waiting, the Phone app's settings do the same job without you typing a code, and they're less sensitive to format. If the menu works and the code doesn't, the code or its format was the problem. If both fail, it's likely your carrier's side (section 6).

5. On a Samsung Galaxy

Galaxy phones use Samsung's own Phone app rather than Google's, and we couldn't find a Samsung support page about this error message. The checks in section 4 still apply in the same way, because the code still has to reach your carrier.

Samsung's US support page puts call forwarding and call waiting in the same place:

Samsung notes that availability of these features "may vary by carrier and phone model," so a missing item can simply mean your carrier doesn't offer it. For call barring on a Galaxy, see Call Barring on Samsung.

6. When it's your carrier's side

If *#06# works, the code is your carrier's own, it's typed exactly, you're on the right SIM with mobile signal, and the matching menu also fails, the remaining causes are things only your carrier can see: the service isn't on your plan, the code isn't active for your account type, or the network is refusing the request.

When you contact them, have this ready:

This lets the support agent skip the basic checks and look at your line's settings directly.

7. If you were trying to block calls

Many people reach for these codes to stop calls: call barring to stop outgoing or incoming calls, or call forwarding to send calls somewhere else. Both depend on your carrier offering the service and accepting the request, which is exactly what fails with this error.

If what you want is to stop your own outgoing calls, NoDial does it on the phone itself, without any code, password or carrier setting: you choose which numbers to block, international calls, or all outgoing calls, and emergency numbers can never be added to the block list. For incoming calls, NoCall blocks unwanted callers on the phone before they ring. Neither app depends on which carrier you use.

For the other ways to stop calls side by side, see How to Block Outgoing Calls on Android and Call Barring Codes.

8. FAQ

What does "connection problem or invalid MMI code" mean?
It's Android's general message for a dialed code (one starting with * or #) that couldn't be carried out. It covers a code the phone couldn't process, a request your carrier refused without a specific reason, and a request that was dropped before an answer came back.
Does this error mean my SIM card is damaged?
Not on its own. None of the situations in which Android shows this message is a SIM fault. Check that the code is your carrier's, that it's typed exactly, and that you have mobile signal.
Why does a balance code that worked before now show this error?
Balance and usage codes are set by each carrier and differ between carriers, between prepaid and postpaid, and between countries. If you changed carrier, plan or SIM, or you're abroad, look up the current code on your carrier's own support site.
Can I use MMI codes over Wi-Fi calling?
It depends on your carrier. By default Android sends carrier codes over the regular mobile network; whether they can go over Wi-Fi calling depends on your carrier's settings. If a code fails on Wi-Fi calling, try again with mobile signal.
Why does a call forwarding code fail while I'm abroad?
Some carriers don't accept call forwarding changes while you're roaming; Android has a separate message for that case. Set forwarding before you travel, or ask your carrier.
What's the difference from "Feature not supported"?
"Feature not supported" means the network explicitly said the request isn't supported or allowed. "Connection problem or invalid MMI code" means Android didn't get a more specific reason.

9. Summary

SUMMARY

"Connection problem or invalid MMI code" means a dialed code couldn't be carried out, not that your phone or SIM is broken. Test the phone with *#06#, use your own carrier's code typed exactly, dial on the right SIM with mobile signal, and try the Phone app's menu for forwarding and waiting. If all of that checks out, the cause is on your carrier's side.

NoDial: block calls to the numbers you choseNo codes, no carrier settings.Get it on Google Play NoCall: Blacklist Call BlockerBlock unwanted calls before they ring.Get it on Google Play

Sources

Codes, menu names and which services are offered vary by carrier, plan, country, phone maker and Android version. Check your carrier's own help pages if a code or step does not match what you see.

Android appsGet it on Google Play
NoDialBlock outgoing callsNoCallBlock incoming calls