deepgram / deepgram-go-sdk

Go SDK for Deepgram's automated speech recognition APIs.
https://developers.deepgram.com
MIT License
34 stars 28 forks source link

Fix Upload of Audio File to `/listen` #125

Closed davidvonthenen closed 1 month ago

davidvonthenen commented 1 year ago

What is the current behavior?

When using the API FromStream and FromFile, the function call always returns this error: {"err_code":"Bad Request","err_msg":"Failed to process the payload. Ensure that it is less than 2 MB and contains valid UTF-8.","request_id":"082025b4-cdb0-4a1b-9d7a-31a1f8824ba3"}

Steps to reproduce

NA

Expected behavior

This should just work

Please tell us about your environment

Go SDK only

Other information

NA

davidvonthenen commented 1 year ago

Merged. Closing.

rwrz commented 1 month ago

@dvonthenen this is happening again on the v1.6.0

davidvonthenen commented 1 month ago

hi @rwrz

I will take a look this morning.

davidvonthenen commented 1 month ago

This has been fixed and available in the this release: https://github.com/deepgram/deepgram-go-sdk/releases/tag/v1.6.1