vercel/ai · error · AISDKError

TranscriptionJobFailed

TranscriptionJobFailed

Error message

Transcription job failed

What it means

Error "Transcription job failed" thrown in vercel/ai.

Source

Thrown at packages/gladia/src/gladia-transcription-model.ts:297

        trustedOrigin: apiOrigin,
        headers: combineHeaders(this.config.headers?.(), options.headers),
        failedResponseHandler: gladiaFailedResponseHandler,
        successfulResponseHandler: createJsonResponseHandler(
          gladiaTranscriptionResultResponseSchema,
        ),
        abortSignal: options.abortSignal,
        fetch: this.config.fetch,
      });

      transcriptionResult = response.value;
      transcriptionResultHeaders = response.responseHeaders;

      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,
      });
    }

View on GitHub (pinned to 69428b1f8b)

When it happens

Trigger: Thrown at packages/gladia/src/gladia-transcription-model.ts:297 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/2660cc797e71a070. Report an issue: GitHub.