{"record":{"id":"03cc4555dc3edcce","repo":"vercel/ai","slug":"google-batch-options-batchid-completed-withou","errorCode":null,"errorMessage":"Google batch \"${options.batchId}\" completed without batch output.","messagePattern":"Google batch \"(.+?)\" completed without batch output\\.","errorType":"exception","errorClass":"InvalidResponseDataError","httpStatus":null,"severity":"error","filePath":"packages/google/src/google-batch.ts","lineNumber":385,"sourceCode":"    if (inlinedResponses != null) {\n      return convertAsyncIteratorToReadableStream(\n        this.iterateBatchResults(\n          inlinedResponses.map(result => ({\n            key: result.metadata.key,\n            response: result.response,\n            error: result.error,\n          })),\n        ),\n      );\n    }\n\n    const responsesFile =\n      operation.metadata?.output?.responsesFile ??\n      operation.response?.responsesFile;\n\n    if (responsesFile == null) {\n      if (batchStatus.status === 'completed') {\n        throw new InvalidResponseDataError({\n          data: operation,\n          message: `Google batch \"${options.batchId}\" completed without batch output.`,\n        });\n      }\n      return new ReadableStream({\n        start(controller) {\n          controller.close();\n        },\n      });\n    }\n\n    const encodedResponsesFile = responsesFile\n      .split('/')\n      .map(segment => encodeURIComponent(segment))\n      .join('/');\n\n    const { value: lines } = await getFromApi({\n      url: `${this.getBaseOrigin()}/download/v1beta/${encodedResponsesFile}:download?alt=media`,","sourceCodeStart":367,"sourceCodeEnd":403,"githubUrl":"https://github.com/vercel/ai/blob/69428b1f8b037e4d118fb4853428d5c4e620493c/packages/google/src/google-batch.ts#L367-L403","documentation":"Error \"Google batch \"${options.batchId}\" completed without batch output.\" thrown in vercel/ai.","triggerScenarios":"Thrown at packages/google/src/google-batch.ts:385 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"}