{"record":{"id":"14f7df0c25f3f3d8","repo":"vercel/ai","slug":"transcriptionresultempty","errorCode":"TranscriptionResultEmpty","errorMessage":"Transcription result is empty","messagePattern":"Transcription result is empty","errorType":"exception","errorClass":"AISDKError","httpStatus":null,"severity":"error","filePath":"packages/gladia/src/gladia-transcription-model.ts","lineNumber":309,"sourceCode":"\n      if (transcriptionResult.status === 'done') {\n        break;\n      }\n\n      if (transcriptionResult.status === 'error') {\n        throw new AISDKError({\n          message: 'Transcription job failed',\n          name: 'TranscriptionJobFailed',\n          cause: transcriptionResult,\n        });\n      }\n\n      // Wait for the configured polling interval before checking again\n      await delay(pollingInterval);\n    }\n\n    if (!transcriptionResult.result) {\n      throw new AISDKError({\n        message: 'Transcription result is empty',\n        name: 'TranscriptionResultEmpty',\n        cause: transcriptionResult,\n      });\n    }\n\n    // Process the successful result\n    return {\n      text: transcriptionResult.result.transcription.full_transcript,\n      durationInSeconds: transcriptionResult.result.metadata.audio_duration,\n      language: transcriptionResult.result.transcription.languages.at(0),\n      segments: transcriptionResult.result.transcription.utterances.map(\n        utterance => ({\n          text: utterance.text,\n          startSecond: utterance.start,\n          endSecond: utterance.end,\n        }),\n      ),","sourceCodeStart":291,"sourceCodeEnd":327,"githubUrl":"https://github.com/vercel/ai/blob/69428b1f8b037e4d118fb4853428d5c4e620493c/packages/gladia/src/gladia-transcription-model.ts#L291-L327","documentation":"Error \"Transcription result is empty\" thrown in vercel/ai.","triggerScenarios":"Thrown at packages/gladia/src/gladia-transcription-model.ts:309 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"69428b1f8b037e4d118fb4853428d5c4e620493c","analyzedAt":"2026-08-30T12:32:21.016Z","schemaVersion":2},"datasetVersion":"2026-08-30T13:17:10.514Z"}