Guide
3CX call flow compile errors: the usual causes and how to fix them
A call flow is compiled by the 3CX server when it receives it. If it refuses, the app is not updated. Most of these refusals come from a few errors, always the same ones, that can be found before sending the flow.
Two moments an error shows up
- While editing: IVR Canvas checks the flow on every save. Each error is said in plain words and one click opens the block at fault. While any remain, the project is neither exported nor deployed.
- When 3CX compiles: if the server still refuses, the previous version of the app stays live and IVR Canvas shows what the 3CX compiler says.

The flow: blocks and outputs
| Message | Fix |
|---|---|
| Connect "Incoming call" to the first block. | The flow starts from nowhere: draw a link from “Incoming call” to the first block. |
| Output "…" not connected: the call hangs up. | Connect the output to what should come next, or to a “Hang up” block if that is the intent. |
| Block not connected to the incoming call: it will not be exported. | A warning: the block is off the path. Connect it, or delete it. |
| Loop: 3CX cannot go back in a call flow. | A link goes back to a block already passed. To replay a menu, use its number of attempts. |
| Enter the destination. | A transfer or a voicemail with no number: type the extension, the queue or a variable. |
Audio
| Message | Fix |
|---|---|
| Add at least one audio file or text to speech. | The prompt is empty: add a WAV file or a text to say. |
| File … is missing from the project. | The block names a file that is not in the Audio folder: add it, or pick another one. |
| …: 3CX needs WAV PCM 8 kHz, 16 bit, mono. | Convert the file: MP3, stereo or 44.1 kHz do not go through. |
Expressions, texts and numbers
| Message | Fix |
|---|---|
| Invalid expression: … | A bracket, a comma or a quote is missing: the detail gives the place. |
| The number … (…) does not compile on 3CX. | The 3CX compiler does not take that number there: write it another way, for example without decimals. |
| Text refused by 3CX: … | The text holds a sequence 3CX does not compile: remove it or put it in a variable. |
| Character refused by 3CX: … | Replace the character pointed out. |
| …: … argument(s), … expected. | A function gets too many or too few arguments. |
| Component … compiles on no 3CX. | This imported component goes through no 3CX version: replace it with an equivalent block. |
The project, secrets and environments
| Message | Fix |
|---|---|
| The project name must start with a letter, with no space or accent. | Rename the project, for example Reception_London. |
| The application number must have 2 to 6 digits. | It is the extension number of the app on 3CX. |
| A secret seems written in clear (…): replace it with [[secret:NAME]]. | A key or a password is in the flow: declare it as a secret. |
| Environment variable "…" has no value for the … environment. | Give it a value for that environment, in the Environments window. |
Refused at deployment or import
- An extension number already taken by an extension, a queue or another app: change it in the project settings.
- A package over 10 MB: remove audio files.
- At import, the ZIP the Call Flow Designer builds for 3CX (Output/Release) holds no flows: import the ZIP of the project folder, with the
.cfdproj.
Connection errors to the 3CX (unreachable, certificate, access denied) are in deploy a call flow to 3CX v20.
Questions
The Call Flow Designer shows an error I cannot find here: what now?
Import the project in the demo: the IVR Canvas check points at the block at fault, with no account.
My flow compiles, but the call hangs up: why?
Most often, an output is connected to nothing. Call the flow in the tester to see the path taken to its end.