# Whisper: Maximum content size limit exceeded

**URL:** <https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925>\
**Category:** API\
**Tags:** whisper\
**Created:** [March 4, 2023, 4:14pm UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925 "2023-03-04T16:14:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![alp.uguray](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/alp.uguray/32/37135_2.png) [@alp.uguray](https://community.openai.com/u/alp.uguray)\
**Post date:** [March 4, 2023, 4:14pm UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/1 "2023-03-04T16:14:01Z")

</div>

I keep getting the error that i reached maximum content size with Whisper API. However, I do have Plus version and have more capital available in the account to be able to make more calls. It’s been 3 days in a row I am receiving this error, so it is no longer “wait and your IP will be allowed” type of a thing. Can anybody help with this?

---

<div class="post-metadata">

**Author:** ![Securigy](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/securigy/32/17229_2.png) [@Securigy](https://community.openai.com/u/Securigy)\
**Post date:** [March 5, 2023, 10:50pm UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/2 "2023-03-05T22:50:11Z")

</div>

No idea at this point, but I am curious what is the size limit for audio file?  
BTW, I was able to do successful calls in C# with previous endpoint/api, but not with the latest one where you indicate “whisper-1” model as parameter…

---

<div class="post-metadata">

**Author:** ![curt.kennedy](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/curt.kennedy/32/709249_2.png) [@curt.kennedy](https://community.openai.com/u/curt.kennedy)\
**Post date:** [March 6, 2023, 1:51am UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/3 "2023-03-06T01:51:51Z")

</div>

25 Meg limit on the file. Use a tool to break it into smaller pieces and feed in these smaller pieces and stick them together. See the docs for tools that can do this without breaking across a word.

---

<div class="post-metadata">

**Author:** ![frank3](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/frank3/32/44553_2.png) [@frank3](https://community.openai.com/u/frank3)\
**Post date:** [March 13, 2023, 3:29pm UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/4 "2023-03-13T15:29:04Z")

</div>

My learnings so far are, that 25 Meg is about 22 Minutes length if you have an MP3-File with 32 Khz. I cut longer files with either Adobe Audition or the free Audacity.  
By the way: whisper does a good job in understanding two languages at once. I had an interview with a german and an english speaker and content was really good.

---

<div class="post-metadata">

**Author:** ![rjc](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rjc](https://community.openai.com/u/rjc)\
**Post date:** [April 26, 2023, 10:42pm UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/5 "2023-04-26T22:42:05Z")

</div>

I’m using the Node API and can only seem to send .mp3 files of 8 MB or shorter, even though all the docs say I should be able to send files up to 25 MB in length.

Anyone else seen this in node?

I’m sending the file via:

```auto
const transcription = await AI.createTranscription(fs.createReadStream("foo.mp3"), "whisper-1");

```

---

<div class="post-metadata">

**Author:** ![jackson.kearl](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@jackson.kearl](https://community.openai.com/u/jackson.kearl)\
**Post date:** [May 10, 2023, 3:06pm UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/6 "2023-05-10T15:06:00Z")

</div>

You need to set the Axios config object in Node:

```auto
  const resp = await openai.createTranscription(
    fs.createReadStream("file.ogg"),
    "whisper-1",
    undefined,
    undefined,
    undefined,
    undefined,
    {
      maxBodyLength: 25 * 1024 * 1024,
    },
  )

```

---

<div class="post-metadata">

**Author:** ![kramer](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@kramer](https://community.openai.com/u/kramer)\
**Post date:** [June 23, 2023, 9:41pm UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/7 "2023-06-23T21:41:10Z")

</div>

Thanks, it saved the day. Why openai Whisper doc doesn’t mention about ` maxBodyLength` ? Curious where did you find it.

---

<div class="post-metadata">

**Author:** ![kunalgulati](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/kunalgulati/32/12528_2.png) [@kunalgulati](https://community.openai.com/u/kunalgulati)\
**Post date:** [August 14, 2023, 3:54pm UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/8 "2023-08-14T15:54:45Z")

</div>

check this

> **[OpenAI Platform](https://platform.openai.com/docs/guides/speech-to-text/longer-inputs)**
>
> Explore developer resources, tutorials, API docs, and dynamic examples to get the most out of OpenAI's platform.

---

<div class="post-metadata">

**Author:** ![pedrorabbi](https://avatars.discourse-cdn.com/v4/letter/p/bbce88/32.png) [@pedrorabbi](https://community.openai.com/u/pedrorabbi)\
**Post date:** [October 2, 2023, 6:03pm UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/9 "2023-10-02T18:03:23Z")

</div>

Saved the day, buddy! TYSM

OpenAI folks, this should be in the docs, or better yet not even be needed at all

---

<div class="post-metadata">

**Author:** ![EricGT](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ericgt/32/20571_2.png) [@EricGT](https://community.openai.com/u/EricGT)\
**Post date:** [December 18, 2023, 9:48am UTC](https://community.openai.com/t/whisper-maximum-content-size-limit-exceeded/83925/10 "2023-12-18T09:48:49Z")

</div>


