Skip to content

Sending a ReadStream for file in dubbing creation errors out #222

@XpTo2k

Description

@XpTo2k

Using this code, sending a ReadStream for file, I get an error.
In all other sdk methods that receive files I do the same way and they work just fine, in dubbing creation it doesn't work.

const dubbed = await elevenlabs.dubbing.create({
  file: audioBlob,
  targetLang: targetLang,
});

Error:
sourceMessage: 'File you provided has unsupported content type application/octet-stream.',
sourceCode: '400'

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