ERROR: Telegram Node Bad request - please check your parameters Bad Request: message is too long

Describe the problem/error/question

Sometimes, I get the error “Bad request - please check your parameters

Bad Request: message is too long” eventhough my workflow works most of times. I get this same error at the same Telegram “send text” node every now and then, eventhough the message is not long. For example, this error occured with a simple one sentence. How can I resolve this and prevent this error in the future in order to have a consistent working workflow

What is the error message (if any)?

Bad request - please check your parameters

Bad Request: message is too long

Please share your workflow

Share the output returned by the last node

{
“errorMessage”: “Bad request - please check your parameters”,
“errorDescription”: “Bad Request: message is too long”,
“errorDetails”: {
“rawErrorMessage”: [
“400 - {"ok":false,"error_code":400,"description":"Bad Request: message is too long"}”
],
“httpCode”: “400”
},
“n8nDetails”: {
“nodeName”: “Send a text message”,
“nodeType”: “n8n-nodes-base.telegram”,
“nodeVersion”: 1.2,
“resource”: “message”,
“operation”: “sendMessage”,
“time”: “21-10-2025, 15:45:12”,
“n8nVersion”: “1.115.3 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Bad request - please check your parameters”,
" at ExecuteContext.apiRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_afd197edb2c1f848eae21a96a97fab23/node_modules/n8n-nodes-base/nodes/Telegram/GenericFunctions.ts:230:9)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_afd197edb2c1f848eae21a96a97fab23/node_modules/n8n-nodes-base/nodes/Telegram/Telegram.node.ts:2193:21)“,
" at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1093:8)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1274:11)“,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1676:27”,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_08b575bec2313d5d8a4cc75358971443/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2292:11"
]
}
}

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system:

Telegram’s sendMessage API limitations
The maximum length of a text message is 4,096 characters (including line breaks, Markdown, HTML).
Add a Code node before the Telegram node to split the message into multiple loops for sending

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.