question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Batch transcription suddenly stopped working

See original GitHub issue

Hi,

For the past few months, I have been able to successfully use the batch transcription code (in python) i.e. cognitive-services-speech-sdk/samples/batch/python/python-client/main.py

However, suddenly last week it stopped working and started giving me this error below:

_File “~/cognitive-services-speech-sdk/samples/batch/python/python-client/main.py”, line 121, in transcribe transcriptions: List[cris_client.Transcription] = transcription_api.get_transcriptions() File “~/.local/lib/python3.6/site-packages/swagger_client/api/custom_speech_transcriptions_api.py”, line 413, in get_transcriptions (data) = self.get_transcriptions_with_http_info(**kwargs) # noqa: E501 File “~/.local/lib/python3.6/site-packages/swagger_client/api/custom_speech_transcriptions_api.py”, line 479, in get_transcriptions_with_http_info collection_formats=collection_formats) File “~/.local/lib/python3.6/site-packages/swagger_client/api_client.py”, line 330, in call_api _preload_content, _request_timeout) File “~/.local/lib/python3.6/site-packages/swagger_client/api_client.py”, line 161, in __call_api _request_timeout=request_timeout) File “~/.local/lib/python3.6/site-packages/swagger_client/api_client.py”, line 351, in request headers=headers) File “~/.local/lib/python3.6/site-packages/swagger_client/rest.py”, line 238, in GET query_params=query_params) File “~/.local/lib/python3.6/site-packages/swagger_client/rest.py”, line 228, in request raise ApiException(http_resp=r) swagger_client.rest.ApiException: (500) Reason: Internal Server Error HTTP response headers: HTTPHeaderDict({‘Cache-Control’: ‘no-cache’, ‘Pragma’: ‘no-cache’, ‘Content-Length’: ‘138’, ‘Content-Type’: ‘text/plain; charset=utf-8’, ‘Expires’: ‘-1’, ‘Server’: ‘Microsoft-IIS/10.0’, ‘X-Powered-By’: ‘ASP.NET’, ‘X-Content-Type-Options’: ‘nosniff’, ‘X-Frame-Options’: ‘SAMEORIGIN’, ‘Strict-Transport-Security’: ‘max-age=31536000; includeSubDomains’, ‘Set-Cookie’: ‘ARRAffinity=f3df9cf866b9a2d9e808ae21645f7fba0e58497b8931a9d16f3158c1e55c39cb;Path=/;HttpOnly;Domain=westus.cris.ai’, ‘Date’: ‘Thu, 29 Aug 2019 18:46:22 GMT’}) HTTP response body: {“code”:“UnexpectedError”,“message”:“Could not complete request, because an unhandled exception was thrown at 08/29/2019 18:46:22 +00:00”}

Below is the relevant piece of code:

_configuration = cris_client.Configuration() configuration.api_key['Ocp-Apim-Subscription-Key'] = SUBSCRIPTION_KEY client = cris_client.ApiClient(configuration) transcription_api = cris_client.CustomSpeechTranscriptionsApi(api_client=client) transcriptions: List[cris_client.Transcription] = transcription_api.get_transcriptions()_

I am not sure what changed. I didn’t change anything from my end. Can someone help me resolve this?

Thanks Sudha

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
choudhary-dineshcommented, Aug 17, 2020

hi @chlandsi When I checked today, i am not getting error(mentioned above) . I am able to use batch transcription service. Also able to get transcription by ID. Regards Dinesh

0reactions
chlandsicommented, Aug 14, 2020

Hi @choudhary-dinesh, we’ll need some more information to diagnose this. Please describe the error you are seeing in more detail - what is the exact error message? Can you also post a transcription id, the region of the speech service you are using, and the approximate time when you created that transcription? Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Speech-to-text, batch transcription, problems with storage ...
Hello,. I have problems trying to configure Azure Speech Services batch transcription service so that it reads my storage blob through a ...
Read more >
Batch transcription Azure Speech API - Microsoft Q&A
Hello, We are using this API to transcript an audio file placed in a blob storage (https://westus.api.cognitive.microsoft.com/speechtotext/v3.0).
Read more >
Azure Cognitive Services - Batch Transcription API ...
Azure Cognitive Services - Batch Transcription API responds with error message "The recording URI is invalid." · I created a speech services ...
Read more >
Amazon Transcribe FAQs – Amazon Web Services (AWS)
Q: What is Amazon Transcribe? Amazon Transcribe is an AWS Artificial Intelligence (AI) service that makes it easy for you to convert speech...
Read more >
Troubleshooting issues related to playback and performance
Use this document to diagnose issues related to playback and performance in Premiere Pro.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found