Telegram download file failing (not seeing file_id)

Hi,

Describe the problem/error/question

I have a Telegram trigger Listen for incoming events (with a bot that has admin permissions to a group) and I’m trying to download the audio files but telegram download files node is randomly failing at this step for seemingly no reason. It has access to file_id and when I run it manually, it works every time.

What is the error message (if any)?

{
“errorMessage”: “Bad request - please check your parameters”,
“errorDescription”: “Bad Request: file_id not specified”,
“errorDetails”: {
“rawErrorMessage”: [
“400 - {"ok":false,"error_code":400,"description":"Bad Request: file_id not specified"}”
],
“httpCode”: “400”
},
“n8nDetails”: {
“nodeName”: “Get Voice File”,
“nodeType”: “n8n-nodes-base.telegram”,
“nodeVersion”: 1.1,
“resource”: “file”,
“operation”: “get”,
“time”: “1/8/2025, 1:29:56 PM”,
“n8nVersion”: “1.72.1 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Bad request - please check your parameters”,
" at ExecuteContext.apiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Telegram/GenericFunctions.js:115:15)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Telegram/Telegram.node.js:1761:36)“,
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:741:19)”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:724:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1155:20"
]
}
}

Please share your workflow

Share the output returned by the last node

Here’s what it looks like:

Information on your n8n setup

  • n8n version: up to date
  • Database (default: SQLite): Postgres I think, running self-hosted in Coolify with Docker
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): via docker
  • Operating system: Ubuntu 24.04