# Rev AI transcription with wrong language parameter - no error, just bad results

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.

## How to handle it

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