deepgram-python-sdk: DeepgramApiError: Please try again later. (Status: 503)
What is the current behavior?
Getting a 503 error when response = deepgram.listen.prerecorded.v("1").transcribe_url(AUDIO_URL, options, timeout=300).
Version.v ENTER
Version.v ENTER
version: 1
version: 1
path: deepgram.clients.prerecorded.v1.client
path: deepgram.clients.prerecorded.v1.client
className: PreRecordedClient
className: PreRecordedClient
Version.v succeeded
Version.v succeeded
Version.v LEAVE
Version.v LEAVE
PreRecordedClient.transcribe_url ENTER
url: https://api.deepgram.com/v1/listen
source: {'url': 'https://website.com/media.mp3'}
PrerecordedOptions switching class -> json
options: {'alternatives': None, 'callback': None, 'callback_method': None, 'custom_intent': None, 'custom_intent_mode': None, 'custom_topics': None, 'custom_topic_mode': None, 'detect_entities': None, 'detect_language': None, 'detect_topics': None, 'diarize': True, 'diarize_version': None, 'dictation': None, 'extra': None, 'filler_words': None, 'intents': None, 'keywords': None, 'language': None, 'measurements': None, 'model': 'nova-2', 'multichannel': None, 'numerals': None, 'paragraphs': None, 'profanity_filter': None, 'punctuate': None, 'redact': None, 'replace': None, 'search': None, 'sentiment': None, 'smart_format': True, 'summarize': 'v2', 'tag': None, 'tier': None, 'topics': True, 'utt_split': None, 'utterances': None, 'version': None}
addons: None
Exception: DeepgramApiError: Please try again later. (Status: 503)
Expected behavior
I should get a response without any 503.
Please tell us about your environment
Debian 10 Python 3.10.12
Other information
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Comments: 21 (8 by maintainers)
By the way, I changed nothing. It just started working today with the two samples that weren’t working yesterday. I guess it was the servers’ hiccups.