vercel/ai · error · AISDKError
TranscriptionResultEmpty
TranscriptionResultEmpty
Error message
Transcription result is empty
What it means
Error "Transcription result is empty" thrown in vercel/ai.
Source
Thrown at packages/gladia/src/gladia-transcription-model.ts:309
if (transcriptionResult.status === 'done') {
break;
}
if (transcriptionResult.status === 'error') {
throw new AISDKError({
message: 'Transcription job failed',
name: 'TranscriptionJobFailed',
cause: transcriptionResult,
});
}
// Wait for the configured polling interval before checking again
await delay(pollingInterval);
}
if (!transcriptionResult.result) {
throw new AISDKError({
message: 'Transcription result is empty',
name: 'TranscriptionResultEmpty',
cause: transcriptionResult,
});
}
// Process the successful result
return {
text: transcriptionResult.result.transcription.full_transcript,
durationInSeconds: transcriptionResult.result.metadata.audio_duration,
language: transcriptionResult.result.transcription.languages.at(0),
segments: transcriptionResult.result.transcription.utterances.map(
utterance => ({
text: utterance.text,
startSecond: utterance.start,
endSecond: utterance.end,
}),
),View on GitHub (pinned to 69428b1f8b)
When it happens
Trigger: Thrown at packages/gladia/src/gladia-transcription-model.ts:309 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of vercel/ai@69428b1f8b (2026-08-30).
Data as JSON: /api/errors/14f7df0c25f3f3d8.
Report an issue: GitHub.