Re: Speech to text V2 Java Help? - Google Cloud Community
Share this topic
LinkedIn
Twitter
Copy URL
Issue with Java Speech to Text Transcription
Hi Everyone, I'm experiencing some challenges with my first Java speech to text transcript implementation. The wav file uploads to the storage bucket successfully. When I manually transcribe using the web front end, everything works as expected. However, when I run the code provided below, I encounter the error message: INVALID_ARGUMENT: Invalid resource field value in the request at the line speech.batchRecognizeOperationCallable().call(request);. Unfortunately, the error message does not provide further details, making it difficult for me to troubleshoot effectively. Any assistance or guidance on resolving this issue would be highly appreciated as I have reached an impasse.
Share this topic
LinkedIn
Twitter
Copy URL
Additional Note for Troubleshooting
For anyone following along, it's important to ensure that the recognizer for the Batch Request is properly set. Make sure to use the correct syntax: setRecognizer("projects/isaidusaid/locations/global/recognizers/_").