-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speech: v1p1beta1 with diarization, 429 Received message larger than max #5819
Comments
The documented content limits are in terms of approximate minutes of speech: ~180 minutes for asynch requests via a GCS URI. In the reported error, the limit appears to be 4 megabytes (which is much smaller). |
I can confirm also encountering this error/limit with the same stack trace while trying to do a transcription.
Indirectly, this is caused by enabling diarization and how transcriptions are divided into several results which represent discrete chunks of the transcribed dialogue. With diarization enabled, the Or put more succinctly, if you have I've found attempting to transcribe any audio file over ~20 minutes will result in this error (exact length varies due to the number of transcribed words returned). |
@edave Thanks for the research! @theacodes Is there a Speech API PoC we can loop in? |
@theacodes, @crwilcox Ping for a PoC? |
/cc @beccasaurus |
@tseaver, is this a grpc issue (message max size) that we could potentially fix via |
@sduskis I don't think so: I believe those limits are enforced client side, whereas this report shows a 429 response from the server. |
@plamut, can you please configure |
@sduskis I presume 256 MiB was meant? I opened a PR, the same setting in Python is called |
Api
speech_v1p1beta1
os
macOS 10.13.5
python version
Python 3.6.3 :: Anaconda, Inc.
api version
Name: google-cloud-speech
Version: 0.35.0
Summary: Google Cloud Speech API client library
stack trace
Code example
The text was updated successfully, but these errors were encountered: