# Telegram openaı http node eror400 404 issues

**URL:** <https://community.n8n.io/t/telegram-openai-http-node-eror400-404-issues/132937>\
**Category:** Questions\
**Created:** [June 15, 2025, 12:34pm UTC](https://community.n8n.io/t/telegram-openai-http-node-eror400-404-issues/132937 "2025-06-15T12:34:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mustafa](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mustafa/32/58755_2.png) [@Mustafa](https://community.n8n.io/u/Mustafa)\
**Post date:** [June 15, 2025, 12:34pm UTC](https://community.n8n.io/t/telegram-openai-http-node-eror400-404-issues/132937/1 "2025-06-15T12:34:39Z")

</div>

Hi n8n team,

I’m building an AI-powered Telegram automation on _n8n Cloud_ using:

_Telegram Webhook → Edit Fields → OpenAI (LLM) → HTTP Request_

My goal: When I send a message to my bot, OpenAI generates a reply, and it’s sent back to Telegram.

✅ Setup:

1. _Webhook Node_

2. _Edit Fields Node_

3. _LLM (OpenAI)_

4. _HTTP Request Node_

❌ Problems:

- I still get:
  - 400: Bad Request: message text is empty
  - Or 404 Not Found

- Even when using _hardcoded text_ like “text”: “Hello test” → still fails
- But the same API call _works outside n8n_
- The OpenAI LLM node gives correct output (I checked manually)

🔍 Tried:

- New Telegram token
- Rebuilding flow twice
- Both Fixed & Expression modes
- Manual test with cURL (worked)
- Setting webhook manually via BotFather (succeeded)

❓What I Need Help With:

- Why does the HTTP node not send the Telegram message?
- Is there a bug with the value mapping from LLM to HTTP node?
- Is there something specific I must do in _n8n Cloud_ to pass the correct body?

Thanks for your time.  
Mustafa  
[https://mmussto.app.n8n.cloud](https://mmussto.app.n8n.cloud)

## Describe the problem/error/question

## What is the error message (if any)?

## Please share your workflow

```auto
(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.)

```

## Share the output returned by the last node

## Information on your n8n setup

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![darrell\_tw](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/darrell_tw/32/52180_2.png) [@darrell\_tw](https://community.n8n.io/u/darrell_tw)\
**Post date:** [June 15, 2025, 4:43pm UTC](https://community.n8n.io/t/telegram-openai-http-node-eror400-404-issues/132937/2 "2025-06-15T16:43:14Z")

</div>

> [@Mustafa](#):
>
> - 400: Bad Request: message text is empty
> - Or 404 Not Found

400 and tell you the message text is empty

```auto
{
“chat_id”: {{$json[“chatId”]}},
“text”: {{$json[“llmOutput”]}} // it means here the output {{$json["llmOutput"]}} is empty
}

```

So the LLM output might not meet your expectation.

* * *

404 is werid about the url is not found.

```auto
 https://api.telegram.org/bot<MY_TOKEN>/sendMessage

```

should be fixed. Can you confirm

* * *

Please provide the workflow code instead of giving the n8n workflow url. We can not see the workflow directly.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [September 13, 2025, 4:43pm UTC](https://community.n8n.io/t/telegram-openai-http-node-eror400-404-issues/132937/3 "2025-09-13T16:43:59Z")

</div>

Closed on September 13, 2025, 4:43pm UTC

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