Describe the problem/error/question
Trying to setup whatsapp trigger, already set up credentials from meta dev app dashboard.
What is the error message (if any)?
invalid parameter.
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: Version 1.119.2 (coolify)
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): (coolify docker)
- Operating system: ubuntu
Verify if you enabled WhatsApp API from Meta dashboard. If you have already done that, try upgrading n8n to the latest version.
Updated to the last version, copied access token asstated in n8n documentation but getting invalid parameter error.
url = "https://graph.facebook.com/v22.0/951854844..../messages"
headers = {
"Authorization": "Bearer EAAaC61RYWxwBQUJc0rBmBy3h7DEP4VR4Ce.........",
"Content-Type": "application/json",
}
data = {
"messaging_product": "whatsapp",
"to": "994.........",
"type": "template",
"template": {
"name": "hello_world",
"language": {"code": "en_US"},
}
}
response = requests.post(url, headers=headers, json=data, timeout=30)
print(response.json())
This request works great but n8n node doesn’t.