Skip to content

FormData will not parse #1

@alessa-weiler

Description

@alessa-weiler

Hello!

I've been having this recurring error message when trying to pass the audio file to openai for transcription. the uri is correct (I do it on an iphone so it starts with file//); the file does exist. Maybe the issue is formatting and trying to pass an .m4a file to formdata?

have been trying to get this to work as I found the tutorial super informative and wanted to play around with the openai API!!

Thanks for the tutorial :)

Edit: this is the exact error message:" app/api/speech-to-text+api.ts ░░░░░░░░░░░░░░░░ 0.0% (0/1)TypeError: Failed to parse body as FormData.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions