Using [deepgram-python-sdk : deepgram.transcription.prerecorded ] getting error : DG: 408, message='Request Timeout' frequently even for 7-8 min audio file as well. #322
-
Which Deepgram product are you using?Deepgram SDKs DetailsHi there, First of all, thanks for creating such a great API for diarization and transcription. I was trying to use the deepgram-python-sdk for prerecorded files transcriptions using deepgram.transcription.prerecorded function. But not sure why I am frequently getting the below error:
I tried the code for audio with length 8 min it give error sometimes, but as the length and size of file increase it give error more frequently. I am not able to transcript the audio of length 0.5 hr or more. I also tried to apply "timeout" greater than 300 in deepgram.transcription.prerecorded function, but still having the same issue, this timeout I am getting randomly sometimes more quickly and sometimes after 3-4 minutes. I would greatly appreciate any help regarding this. thank you. If you are making a request to the Deepgram API, what is the full Deepgram URL you are making a request to?No response If you are making a request to the Deepgram API and have a request ID, please paste it below:047a824d-da10-4ccc-a582-4ac8067aa9df If possible, please attach your code or paste it into the text box.
If possible, please attach an example audio file to reproduce the issue.No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I've been having this issue as well. I believe it is related to this issue https://github.com/orgs/deepgram/discussions/272 The size of file that the API seems to be able to handle seems to vary between 10 mins and 10 seconds. My solution was to break the audio files into smaller segments and change the audio from stereo to mono. For most of the week I was processing 30 minute files in 10 second segments. |
Beta Was this translation helpful? Give feedback.
I've been having this issue as well.
I believe it is related to this issue https://github.com/orgs/deepgram/discussions/272
The size of file that the API seems to be able to handle seems to vary between 10 mins and 10 seconds. My solution was to break the audio files into smaller segments and change the audio from stereo to mono.
For most of the week I was processing 30 minute files in 10 second segments.