Why is my audio file not recognized and showing a "does not exist" error?

This topic was automatically generated from Slack. You can find the original thread here.

Hi, Everyone any ideas why my audio file is not being recognized? Error
/tmp/recording.m4a does not exist
DETAILS

    at Object.run (file:///tmp/__pdg__/dist/code/4d17f5260907f527a06ec67798623979aa138f39e339b312a5241c4d5c109ad1/code/actions/create-transcription/create-transcription.mjs:203:15)
    at global.executeComponent (/var/task/launch_worker.js:225:53)
    at MessagePort.messageHandler (/var/task/launch_worker.js:722:28)

Detailed/code mode
OpenAI (ChatGPT) Account
OpenAI (ChatGPT)
Audio Upload Type
File
File Path
/tmp/recording.m4a

1 Like

Hi Anu, are you creating a file called /tmp/recording.m4a in a previous step? Has that step run successfully? This error suggests you’re trying to read that file but it can’t find any file with that name.

I’m also going to call out Q&A bot, Pi, to see how it would answer the question.

Hi, Everyone any ideas why my audio file is not being recognized? Error
/tmp/recording.m4a does not exist
DETAILS

    at Object.run (file:///tmp/__pdg__/dist/code/4d17f5260907f527a06ec67798623979aa138f39e339b312a5241c4d5c109ad1/code/actions/create-transcription/create-transcription.mjs:203:15)
    at global.executeComponent (/var/task/launch_worker.js:225:53)
    at MessagePort.messageHandler (/var/task/launch_worker.js:722:28)

Detailed/code mode
OpenAI (ChatGPT) Account
OpenAI (ChatGPT)
Audio Upload Type
File
File Path
/tmp/recording.m4a

Hi there! It seems like the /tmp/recording.m4a file is not found when the Create Transcription action is trying to access it. Please ensure that you have created and saved the audio file at /tmp/recording.m4a in a previous step before running the Create Transcription action. Also, make sure that the previous step has executed successfully.