WebSocket & Batch APIs both fail with valid audio — no transcript / HTTP 400 #1301
-
Hi all, I’m building an app using Deepgram’s STT APIs and I’m encountering consistent failures in both the WebSocket and Batch Upload APIs, even with valid audio that transcribes fine in Whisper and plays cleanly. WebSocket issue:
Batch Upload issue:
What I’ve tried:
Would love to know if anyone has run into this — or if Deepgram has updated requirements recently. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Thanks for asking your question. Please be sure to reply with as much detail as possible so the community can assist you efficiently. |
Beta Was this translation helpful? Give feedback.
-
Hey there! It looks like you haven't connected your GitHub account to your Deepgram account. You can do this at https://community.deepgram.com - being verified through this process will allow our team to help you in a much more streamlined fashion. |
Beta Was this translation helpful? Give feedback.
-
It looks like we're missing some important information to help debug your issue. Would you mind providing us with the following details in a reply?
|
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks so much for your help.
We’re seeing repeated 400 errors using Deepgram’s Batch Upload endpoint.
Our audio files are ~1 second to 10 seconds, mono 16kHz WAV, generated in-memory.
Here are two request IDs from failed uploads:
e9f2b651-d716-4cf7-b808-e5f7bf5328a8
09feb3a5-f9ed-4c6e-88b9-9089076bfee3
Can you tell us what’s wrong with the payloads or format?
…-Ron
On Jun 24, 2025, at 5:27 PM, deepgram-community[bot] ***@***.***> wrote:
It looks like we're missing some important information to help debug your issue. Would you mind providing us with the following details in a reply?
A request ID that triggered your error or issue.
—
Reply to this email directly, view it on GitHub <#1301 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BSCOL5GA2LU6PYFIRJX6M6L3FG7C7AVCNFSM6AAAAACABQI7B6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNJWGY3TAMI>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
I looked at request ID Error: Raw binary data was sent to Deepgram without both the Suggestion: Set both the for I see the same error: Error: Raw binary data was sent to Deepgram without both the Suggestion: Set both the Refer to our Docs on using these API params: https://developers.deepgram.com/docs/encoding
|
Beta Was this translation helpful? Give feedback.
I looked at request ID
e9f2b651-d716-4cf7-b808-e5f7bf5328a8
and I see this in our Logs:Error: Raw binary data was sent to Deepgram without both the
encoding
andsample_rate
set.Suggestion: Set both the
encoding
andsample_rate
in your query parameters.for
09feb3a5-f9ed-4c6e-88b9-9089076bfee3
i see in our logs:I see the same error:
Error: Raw binary data was sent to Deepgram without both the
encoding
andsample_rate
set.Suggestion: Set both the
encoding
andsample_rate
in your query parameters.Refer to our Docs on using these API params:
https://developers.deepgram.com/docs/encoding
https://developers.deepgram.com/docs/sample-rate