Batch transcription suddenly stopped working
See original GitHub issueHi,
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:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top GitHub Comments
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
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!