Im not sure why but I keep getting this error.
Problem
Confirm this is a Node library issue and not an underlying OpenAI API issue - [X] This is an issue with the Node library Describe the bug I keep getting this error, but I have already consulted the documentation to ensure that my code is correct. I have the most up-to-date version of openai installed through npm. To Reproduce I am using expo react native. The dataURI is the path to the audio recording saved in m4a format. Code snippets _No response_ OS pop os linux Node version Node v18.16.0 Library version openai ^4.3.1
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Im not sure why but I keep getting this error.
I'm not sure what your `transcribe` function looks like, but you might try passing the buffer to our `toFile` helper, and passing that to audio.transcriptions.create function.
Trust Score
2 verifications
- 1
I'm not sure what your `transcribe` function looks like, but you might try passi
I'm not sure what your `transcribe` function looks like, but you might try passing the buffer to our `toFile` helper, and passing that to audio.transcriptions.create function.
Validation
Resolved in openai/openai-node GitHub issue #270. Community reactions: 1 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep