Title: Client library incorrectly returns error when FLAC is used with long-running-recognize · Issue #3285 · googleapis/google-cloud-python · GitHub
Open Graph Title: Client library incorrectly returns error when FLAC is used with long-running-recognize · Issue #3285 · googleapis/google-cloud-python
X Title: Client library incorrectly returns error when FLAC is used with long-running-recognize · Issue #3285 · googleapis/google-cloud-python
Description: The client library incorrectly returns an error when anything other than LINEAR16 is used for a long-running recognize request: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/speech/google/cloud/speech/sample.py#L...
Open Graph Description: The client library incorrectly returns an error when anything other than LINEAR16 is used for a long-running recognize request: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/maste...
X Description: The client library incorrectly returns an error when anything other than LINEAR16 is used for a long-running recognize request: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/maste...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/3285
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Client library incorrectly returns error when FLAC is used with long-running-recognize","articleBody":"The client library incorrectly returns an error when anything other than LINEAR16 is used for a long-running recognize request:\r\n\r\n[https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/speech/google/cloud/speech/sample.py#L173][1]\r\n\r\nThe v1 server support all encodings so this breaks functionality.\r\n\r\nIn general, the client library should almost never do it's own validation; it should always delegate to the server to be sure that that behavior and error messages are consistent across APIs.\r\n\r\n[1]: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/46e417e838001f4d1eb13f5e3fc2a54d390dd5db/speech/google/cloud/speech/sample.py#L173","author":{"url":"https://github.com/pbogle","@type":"Person","name":"pbogle"},"datePublished":"2017-04-11T19:25:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3285/google-cloud-python/issues/3285"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:be45e5bd-839c-a2b9-d08a-d24dbbe8e251 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 920C:3BF7C9:A3B729:DE986C:6A4D51C0 |
| html-safe-nonce | e5d146def56670ea22695e5dbd5cb1819954fb333961768b85c3253bd3903df7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjBDOjNCRjdDOTpBM0I3Mjk6REU5ODZDOjZBNEQ1MUMwIiwidmlzaXRvcl9pZCI6IjEzNzA0NTY3MzM3MzQ3NTI3MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | de4b17cb222dcb09f3b3571c8306095d917510be27ac9625b73067a4de1ef9aa |
| hovercard-subject-tag | issue:221054886 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/3285/issue_layout |
| twitter:image | https://opengraph.githubassets.com/805b79af5361dbae35f5d71e32e41e068a397b990bfea59376e9d8d373f5f7e3/googleapis/google-cloud-python/issues/3285 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/805b79af5361dbae35f5d71e32e41e068a397b990bfea59376e9d8d373f5f7e3/googleapis/google-cloud-python/issues/3285 |
| og:image:alt | The client library incorrectly returns an error when anything other than LINEAR16 is used for a long-running recognize request: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/maste... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pbogle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width