## TL;DR

If I set the language parameter to en but the audio is actually in Spanish, what happens? It attempts recognition using the language you specify, so with en set on Spanish audio you get very low confidence scores and a transcript that is mostly word salad.

## Steps

1. If I set the language parameter to en but the audio is actually in Spanish, what happens? Do I get an error, or just poor confidence scores? I tried the same audio file with a smaller chunk size and the error persisted. The file plays fine locally, so it is not corrupt.

2. The API will not throw an error on a language mismatch. It attempts recognition using the language you specify, so with en set on Spanish audio you get very low confidence scores and a transcript that is mostly word salad. If your audio is not English, set the language parameter to match it and you will get a usable result. Source: https://github.com/revdotcom/revai-python-sdk/issues/71

## When to use

You are seeing this: Do I get an error, or just poor confidence scores? Use this skill when you run into "Rev AI transcription with wrong language parameter - no error, just bad results".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://github.com/revdotcom/revai-python-sdk/issues/71
