Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Infinte long process

Hi,

I sent an audio for transcription, and didn't get the result yet (should be in a bucket)

this is the process id: 7346104001135815711

any ideas how I can debug it and find why it fails?

0 1 217
1 REPLY 1

Good day @yonatanbendahan,

Welcome to Google Cloud Community!

Try checking the following:

1. If you are requesting in an API endpoint and your audio file is longer than 60 seconds you need to use this endpoint. 

"https://speech.googleapis.com/v1/speech:longrunningrecognize"

If you are Transcribing short audio files that is no longer than 60 seconds, this is the correct endpoint: 

https://speech.googleapis.com/v1/speech:recognize

For transcribing audio from streaming input, you can use this link to check the sample: https://cloud.google.com/speech-to-text/docs/transcribe-streaming-audio

For more information regarding transcription of short audio file and long audio file, you can use this link:https://cloud.google.com/speech-to-text/docs/sync-recognize
https://cloud.google.com/speech-to-text/docs/async-recognize

2. Make sure that you are also following the best practices when providing data to Speech-to-text API.
You can use this link for more information about the best practices: https://cloud.google.com/speech-to-text/docs/best-practices-provide-speech-data
Try also checking your logs regarding the errors you have encountered.

3. You can also use this documentation for managing long operations of speech-to-text: https://cloud.google.com/speech-to-text/docs/reference/rpc/google.longrunning

You can also reach out to the Google Cloud Support: https://cloud.google.com/support/

Hope this helps!