FG
🤖 AI & LLMsOpenAI

Im not sure why but I keep getting this error.

Freshover 2 years ago
Mar 14, 20260 views
Confidence Score85%
85%

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

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate2 verificationsLast verified Mar 14, 2026

Solution: Im not sure why but I keep getting this error.

Low Risk

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.

84

Trust Score

2 verifications

100% success
  1. 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

Worked: 2
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

openaigptllmapibug