You're hitting a common validation error in WhatsApp's Flow Builder:
INVALID_PROPERTY_VALUE
Found invalid empty parentheses at column (col).
Property ‘condition’ cannot be blank or empty. It should either contain a valid expression or a single boolean operand.
TL;DR
To fix the INVALID_PROPERTY_VALUE error caused by an empty condition, replace the blank or empty condition field with a valid expression or a boolean. For example:
"condition": "${data.isUserVerified}"
or simply:
"condition": "true"
What’s Happening?
The If component expects a valid logical condition to determine whether it should render the then block. An empty condition like " " or "( )" is not meaningful, and the Flow builder throws an error to prevent runtime issues.
When Does This Happen?
You left the condition value empty during development.
You used placeholder brackets like "condition": "( )" as a temporary fix or by mistake.
You tried to short-circuit logic without using an actual boolean or expression.
The Correct Way
Here are valid examples you can safely use:
1. Using a variable from your data:
"condition": "${data.userOptedIn}"
2. Always true (to force execution):
"condition": "true"
3. Always false (to skip execution):
"condition": "false"
4. Using a full expression:
"condition": "${data.age} > 18"
Final Tip
If your If block doesn’t need conditional logic yet, use "true" as a placeholder so your Flow doesn’t break. But always remember to replace it with actual logic before going live.
For more troubleshooting insights related to WhatsApp Business API, check out heltar.com/blogs.