Skip to content

Eleven labs audio transcription not working 412 (Precondition Failed) #4056

@zanesq

Description

@zanesq

Describe the bug

Sending an audio transcription request to eleven labs with a valid api key fails and returns with

POST http://127.0.0.1:51228/audio/transcribe/elevenlabs 412 (Precondition Failed)
(anonymous) @ useWhisper.ts:139

await in (anonymous)
mediaRecorder.onstop @ useWhisper.ts:297
useWhisper.ts:171 Error transcribing audio: Error: Transcription failed
at useWhisper.ts:160:17
at async mediaRecorder.onstop (useWhisper.ts:297:11)

To Reproduce
Steps to reproduce the behavior:

  1. Go to settings and put in an eleven labs key and choose eleven labs as the provider
  2. Click on mic in chat and try to transcribe
  3. See error message

Expected behavior
It should work with the eleven labs api and the chat should revert back to chat instead of staying in recording mode if there is an issue.

Screenshots
Image

Please provide following information:

  • OS & Arch: Mac Arm
  • Interface: UI
  • Version: 1.3.0
  • Extensions enabled: Redacted
  • Provider & Model: Claude Sonnet 4

Additional context
Add any other context about the problem here.

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