Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhatsApp Business Cloud Node Fails with "No Execution Data Available" When Using Dynamic Parameters #13887

Open
AngelBReal opened this issue Mar 12, 2025 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@AngelBReal
Copy link

Describe the problem/error/question

When using the WhatsApp Business Cloud node with dynamic values for the recipient phone number or text body, the workflow execution fails with the error "No execution data available."

The issue only occurs when using parameters in the recipient or text fields. If both values are hardcoded, the message sends successfully.

Things I’ve Tried (Still Getting the Error):
✅ Converted values to .toString() → Still fails.
✅ Added a "Set" node before the WhatsApp node → Same issue.
✅ Tried different combinations of fixed/dynamic values:

Fixed phone + dynamic text → ❌ Error
Dynamic phone + fixed text → ❌ Error
Fixed phone + fixed text → ✅ Works
✅ Copied and pasted the entire workflow into a new one → Same error.
The only way to get the message to send is if both the phone number and text body are hardcoded.

What is the error message (if any)?

{
"errorMessage": "No execution data available",
"errorDetails": {},
"n8nDetails": {
"itemIndex": 0,
"runIndex": 0,
"time": "12/3/2025, 4:15:23 p.m.",
"n8nVersion": "1.82.1 (Cloud)",
"binaryDataMode": "filesystem",
"stackTrace": [
"ExpressionError: No execution data available",
" at Object.get (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/WorkflowDataProxy.js:310:31)",
" at Object.get (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/WorkflowDataProxy.js:1030:104)",
" at Proxy.eval (eval at getFunction (/usr/local/lib/node_modules/n8n/node_modules/@n8n/tournament/dist/FunctionEvaluator.js:14:22), :6:46)",
" at FunctionEvaluator.evaluate (/usr/local/lib/node_modules/n8n/node_modules/@n8n/tournament/dist/FunctionEvaluator.js:20:19)",
" at Tournament.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/tournament/dist/index.js:43:31)",
" at evaluateExpression (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/ExpressionEvaluatorProxy.js:123:16)",
" at Expression.renderExpression (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Expression.js:238:70)",
" at Expression.resolveSimpleParameterValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Expression.js:217:34)",
" at Expression.getParameterValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Expression.js:300:25)",
" at RoutingNode.getParameterValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/routing-node.js:414:40)",
" at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/routing-node.js:97:30)",
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:739:26)",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:919:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1252:20"
]
}
}

Please share your workflow/screenshots/recording

Image

workflow:
{
"nodes": [
{
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "bd3c7b33-e943-45b2-adb1-ca05dd488db1",
"leftValue": "={{ $json["Tipo de Pack"] }}",
"rightValue": "PACK DE LEYES CERRADO",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
}
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"leftValue": "={{ $json["Tipo de Pack"] }}",
"rightValue": "PACK DE LEYES JUSTICIA",
"operator": {
"type": "string",
"operation": "equals"
},
"id": "95ac9e72-2ace-401a-8067-8138ca558036"
}
],
"combinator": "and"
}
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "6373afa8-d87a-4b34-a016-dfda7b154a81",
"leftValue": "={{ $json["Tipo de Pack"] }}",
"rightValue": "PACK DE LEYES AGENTE DE HACIENDA",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
}
},
{
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "7fe15d68-4ad2-45b2-a8f4-97206c5e6e8a",
"leftValue": "={{ $json["Tipo de Pack"] }}",
"rightValue": "Pack Personalizado",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
}
}
]
},
"options": {}
},
"type": "n8n-nodes-base.switch",
"typeVersion": 3.2,
"position": [
-400,
180
],
"id": "effd5c02-4ad0-4eaf-ad40-076f3f56f32a",
"name": "Switch Tipo Pack"
},
{
"parameters": {
"operation": "send",
"phoneNumberId": "",
"recipientPhoneNumber": "={{ $json.Phone.toString() }}",
"textBody": "=Hola ",
"additionalFields": {}
},
"type": "n8n-nodes-base.whatsApp",
"typeVersion": 1,
"position": [
40,
500
],
"id": "a0c18ccd-cb54-445d-a780-2610a3f59a2d",
"name": "Pack PersO",
"webhookId": "55dcbc89-c55d-415b-85ea-1e248ca2e033",
"credentials": {
"whatsAppApi": {
"id": "",
"name": "WhatsApp account Adrian"
}
}
},
{
"parameters": {
"amount": 50
},
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
-180,
500
],
"id": "",
"name": "Wait10",
"webhookId": ""
}
],
"connections": {
"Switch Tipo Pack": {
"main": [
[],
[],
[],
[
{
"node": "Wait10",
"type": "main",
"index": 0
}
]
]
},
"Pack PersO": {
"main": [
[]
]
},
"Wait10": {
"main": [
[
{
"node": "Pack PersO",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "5c431444819003241f8de37955f4075c96c60cff83a23fb628cc3eb4a130cd44"
}
}

Image

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.

Share the output returned by the last node

{
"errorMessage": "No execution data available",
"errorDetails": {},
"n8nDetails": {
"itemIndex": 0,
"runIndex": 0,
"time": "12/3/2025, 4:30:40 p.m.",
"n8nVersion": "1.82.1 (Cloud)",
"binaryDataMode": "filesystem",
"stackTrace": [
"ExpressionError: No execution data available",
" at Object.get (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/WorkflowDataProxy.js:310:31)",
" at Object.get (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/WorkflowDataProxy.js:1030:104)",
" at Proxy.eval (eval at getFunction (/usr/local/lib/node_modules/n8n/node_modules/@n8n/tournament/dist/FunctionEvaluator.js:14:22), :6:46)",
" at FunctionEvaluator.evaluate (/usr/local/lib/node_modules/n8n/node_modules/@n8n/tournament/dist/FunctionEvaluator.js:20:19)",
" at Tournament.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/tournament/dist/index.js:43:31)",
" at evaluateExpression (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/ExpressionEvaluatorProxy.js:123:16)",
" at Expression.renderExpression (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Expression.js:238:70)",
" at Expression.resolveSimpleParameterValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Expression.js:217:34)",
" at Expression.getParameterValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Expression.js:300:25)",
" at RoutingNode.getParameterValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/routing-node.js:414:40)",
" at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/routing-node.js:97:30)",
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:739:26)",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:919:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1252:20"
]
}
}

Debug info

core

  • n8nVersion: 1.82.1
  • platform: docker (cloud)
  • nodeJsVersion: 20.18.3
  • database: sqlite
  • executionMode: regular
  • concurrency: 20
  • license: community

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 720 hours
  • maxCount: 25000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/134.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-03-12T23:21:17.862Z}

@Joffcom
Copy link
Member

Joffcom commented Mar 12, 2025

Hey @AngelBReal,

We have created an internal ticket to look into this which we will be tracking as "GHC-1176"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants