# HTTP request module

**URL:** <https://community.n8n.io/t/http-request-module/114528>\
**Category:** Questions\
**Created:** [May 13, 2025, 6:11am UTC](https://community.n8n.io/t/http-request-module/114528 "2025-05-13T06:11:15Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claudi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/claudi/32/61156_2.png) [@Claudi](https://community.n8n.io/u/Claudi)\
**Post date:** [May 13, 2025, 6:11am UTC](https://community.n8n.io/t/http-request-module/114528/1 "2025-05-13T06:11:15Z")

</div>

![image](https://europe1.discourse-cdn.com/n8n/original/3X/9/b/9bded1ae118c573556ecc6ac77f2cdb6bedcb795.png)

## Describe the problem/error/question

After configur the HTTP request module I get alway the same error attched.

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

source.on is not a fuction

## 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.)
{
  "nodes": [
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.groq.com/openai/v1/audio/transcriptions",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "API KEY"
            }
          ]
        },
        "sendBody": true,
        "contentType": "multipart-form-data",
        "bodyParameters": {
          "parameters": [
            {
              "name": "model",
              "value": "whisper-large-v3-turbo"
            },
            {
              "name": "response_format",
              "value": "verbose_json"
            },
            {
              "parameterType": "formBinaryData",
              "name": "file",
              "inputDataFieldName": "={{ $node["GetAudio"].binary.data }}"
            },
            {
              "name": "language",
              "value": "es"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        -100,
        -320
      ],
      "id": "bc8be46b-4fe9-49df-bf0b-f8ce9107f4f7",
      "name": "HTTP Request1"
    }
  ],
  "connections": {},
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "aff0e1963ff23dbf30a552af030c5f373ef10246d89b73353b5660bd0ded2722"
  }
}
## Share the output returned by the last node
<!-- If you need help with data transformations, please also share your expected output. -->

## Information on your n8n setup
```

---

<div class="post-metadata">

**Author:** ![mohamed3nan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mohamed3nan/32/188347_2.png) [@mohamed3nan](https://community.n8n.io/u/mohamed3nan)\
**Post date:** [May 13, 2025, 11:45am UTC](https://community.n8n.io/t/http-request-module/114528/2 "2025-05-13T11:45:51Z")

</div>

Hi @Claudi

I think you need to edit this part:

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/8/4/84f63118f3153bb096fabb7af4af868a469fcceb.png)

Change it to something like this:

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/c/2/c2f47b782c48d5a8057cf0aa3991b673c0af09dd.png)

And only enter the input field name, for example: **`data`**

Let me know if you still have any issues

* * *

> **⚡**
>
> If this solves your problem, kindly mark the reply as the solution ✅🙏🏻

---

<div class="post-metadata">

**Author:** ![Claudi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/claudi/32/61156_2.png) [@Claudi](https://community.n8n.io/u/Claudi)\
**Post date:** [May 13, 2025, 7:47pm UTC](https://community.n8n.io/t/http-request-module/114528/3 "2025-05-13T19:47:38Z")

</div>

Yes, It has worked fine. Thanks.

---

<div class="post-metadata">

**Author:** ![Claudi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/claudi/32/61156_2.png) [@Claudi](https://community.n8n.io/u/Claudi)\
**Post date:** [May 13, 2025, 7:48pm UTC](https://community.n8n.io/t/http-request-module/114528/4 "2025-05-13T19:48:53Z")

</div>

How can I configure with Gemini? Is it possible make transcribing ? I don´t see any module for it so I guess I have to make a http request too, but I don´t find any document for it.

---

<div class="post-metadata">

**Author:** ![mohamed3nan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mohamed3nan/32/188347_2.png) [@mohamed3nan](https://community.n8n.io/u/mohamed3nan)\
**Post date:** [May 13, 2025, 7:54pm UTC](https://community.n8n.io/t/http-request-module/114528/5 "2025-05-13T19:54:53Z")

</div>

@Claudi Yes, there isn’t a built-in node for Gemini yet, but you can use the HTTP node to achieve this.

Here is the related article:

> **[Get a transcript - Gemini generateContent API  |  Google AI for Developers](https://ai.google.dev/gemini-api/docs/audio#transcript)**
>
> To get a transcript of audio data, just ask for it in the prompt:

Kindly don’t forget to mark my previous reply as the solution ✅ so others with the same issue can find it easily 🙏🏻

---

<div class="post-metadata">

**Author:** ![Claudi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/claudi/32/61156_2.png) [@Claudi](https://community.n8n.io/u/Claudi)\
**Post date:** [May 13, 2025, 8:30pm UTC](https://community.n8n.io/t/http-request-module/114528/6 "2025-05-13T20:30:46Z")

</div>

Ok, thanks for the info but as I am a bit new in that information I don´t see how to configure the HTTP request for it…

---

<div class="post-metadata">

**Author:** ![mohamed3nan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mohamed3nan/32/188347_2.png) [@mohamed3nan](https://community.n8n.io/u/mohamed3nan)\
**Post date:** [May 13, 2025, 8:38pm UTC](https://community.n8n.io/t/http-request-module/114528/7 "2025-05-13T20:38:45Z")

</div>

> **[Upload an audio file - Gemini generateContent API  |  Google AI for Developers](https://ai.google.dev/gemini-api/docs/audio#upload-audio)**
>
> You can use the Files API to upload an audio file. Always use the Files API when the total request size (including the files, text prompt, system instructions, etc.) is larger than 20 MB.

Go to the REST tab, copy the relevant cURL commands, and import them into the n8n HTTP node.

This is generally how it works..

---

<div class="post-metadata">

**Author:** ![Claudi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/claudi/32/61156_2.png) [@Claudi](https://community.n8n.io/u/Claudi)\
**Post date:** [May 13, 2025, 8:41pm UTC](https://community.n8n.io/t/http-request-module/114528/8 "2025-05-13T20:41:51Z")

</div>

But what i need is not to upload a file I need to transcribing a file downloaded previously with Telegram get a file node.  
But thanks anyway for your time.

---

<div class="post-metadata">

**Author:** ![mohamed3nan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mohamed3nan/32/188347_2.png) [@mohamed3nan](https://community.n8n.io/u/mohamed3nan)\
**Post date:** [May 13, 2025, 8:44pm UTC](https://community.n8n.io/t/http-request-module/114528/9 "2025-05-13T20:44:24Z")

</div>

You need to upload it, then ask for the transcription in the prompt:

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/4/e/4e106743f87e029ab009a1323cbf1fb524d01af0.png)

Also, they mention that you can pass `audio_bytes` if the file is under 20MB.

So, in general, just start building it. If you run into any issues, feel free to post a question, and I’m sure you’ll get the help you need..

---

<div class="post-metadata">

**Author:** ![Claudi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/claudi/32/61156_2.png) [@Claudi](https://community.n8n.io/u/Claudi)\
**Post date:** [May 13, 2025, 8:47pm UTC](https://community.n8n.io/t/http-request-module/114528/10 "2025-05-13T20:47:48Z")

</div>

Ok, I will study it. Then I think it is easier with groq? isn´t it?

---

<div class="post-metadata">

**Author:** ![mohamed3nan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mohamed3nan/32/188347_2.png) [@mohamed3nan](https://community.n8n.io/u/mohamed3nan)\
**Post date:** [May 13, 2025, 8:53pm UTC](https://community.n8n.io/t/http-request-module/114528/11 "2025-05-13T20:53:07Z")

</div>

Groq is so fast, and its OpenAI API compatibility makes it easy to use.

The only downside is the few supported models…

---

<div class="post-metadata">

**Author:** ![Claudi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/claudi/32/61156_2.png) [@Claudi](https://community.n8n.io/u/Claudi)\
**Post date:** [May 13, 2025, 8:54pm UTC](https://community.n8n.io/t/http-request-module/114528/12 "2025-05-13T20:54:49Z")

</div>

Yes, that is true. For my testing I will work with it for me is easier. Thanks

---

<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:** [May 20, 2025, 8:54pm UTC](https://community.n8n.io/t/http-request-module/114528/13 "2025-05-20T20:54:55Z")

</div>

Closed on May 20, 2025, 8:54pm UTC

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