Serverless callback not received after sending large file for transcription #174
-
Which Deepgram product are you using?Deepgram API DetailsI am posting to the deepgram API and waiting for a callback post with my data to my endpoint (https://transcribe.boredkatz.com/api/public/v0/broadcast/transcribe). However I am only receiving responses from short transcripts. Large transcripts never make it to my endpoint. I'm pretty sure the problem is on Deepgram's end, because I tested posting large payloads to my form via CURL and it registered. But when deepgram is making the post, I'm only ever seeing server events for short transcripts - I don't even receive an error for large payloads at all, leading me to believe it's not sending from deepgram's end. My endpoints are hosted in AWS fargate, in case that makes a difference. If you are making a request to the Deepgram API, what is the full Deepgram URL you are making a request to?If you are making a request to the Deepgram API and have a request ID, please paste it below:No response If possible, please attach your code or paste it into the text box.When I tried pasting the full code, github would not let me. But you can get it from transcribing the mp3 file I pasted in the next form field. If possible, please attach an example audio file to reproduce the issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
hey @jaxomlotus can you confirm whether the large requests you made through curl that did work, also included a callback URL? or is it only when you use a callback URL with large audio that you don't get data sent? |
Beta Was this translation helpful? Give feedback.
-
We are using AWS Fargate with no max payload size.
I confirmed it’s not a payload size issue since I did CURL submits to my
server with large payloads and it was not rejected.
It’s only not being received when the callback is sent. I’m not seeing
anything in my server logs (eg no error - it’s as if it is not being
attempted). And in deepgrams logs I see a 200 success message.
…On Mon, May 29, 2023 at 8:50 AM Luke Oliff ***@***.***> wrote:
That's for the clarification. I'm going to go out on a limb and share
this: https://developers.deepgram.com/docs/wip-payload-too-large
It's an unreleased troubleshooting guide that relates to the callback
server recieving a payload that is too large, and throwing an error back to
our server. You may be able to see evidence of this in
https://console.deepgram.com under usage -> logs.
It would seem to fit this scenario, even without more evidence so far.
—
Reply to this email directly, view it on GitHub
<#174 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADWSSQ7IWKPN77G5PJL4TTXISLPZANCNFSM6AAAAAAYR6JQY4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
OK, so i made some changes to my config and im seeing larger files now make it through. So I guess this was on my end after all.
For anyone else who is using Next.js (outside of a serverless setup) and encounters this, add this to your endpoint (adjust the size limit appropriately)