{"record":{"id":"5b9db17d89bb9a48","repo":"AlistGo/alist","slug":"lark-export-task-response-missing-result","errorCode":null,"errorMessage":"lark export task response missing result","messagePattern":"lark export task response missing result","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/lark/other.go","lineNumber":205,"sourceCode":"\tif ticket == \"\" {\n\t\treturn nil, errors.New(\"ticket is required\")\n\t}\n\ttoken, ok := c.getObjToken(ctx, obj.GetPath())\n\tif !ok {\n\t\treturn nil, errors.WithStack(errors.New(\"lark file token not found\"))\n\t}\n\tresp, err := doDrive(ctx, c, func(opts ...larkcore.RequestOptionFunc) (*larkdrive.GetExportTaskResp, error) {\n\t\treturn c.client.Drive.V1.ExportTask.Get(ctx,\n\t\t\tlarkdrive.NewGetExportTaskReqBuilder().Ticket(ticket).Token(token).Build(), opts...)\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif !resp.Success() {\n\t\treturn nil, larkAPIError(resp)\n\t}\n\tif resp.Data == nil || resp.Data.Result == nil {\n\t\treturn nil, errors.New(\"lark export task response missing result\")\n\t}\n\tresult := resp.Data.Result\n\tout := &LarkExportStatusResp{\n\t\tStatus: larkExportJobStatus(result),\n\t}\n\tif result.FileToken != nil {\n\t\tout.FileToken = *result.FileToken\n\t}\n\tif result.FileSize != nil {\n\t\tout.FileSize = *result.FileSize\n\t}\n\tif result.JobStatus != nil {\n\t\tout.JobStatus = *result.JobStatus\n\t}\n\tif out.Status == larkExportStatusFailed {\n\t\tout.ErrorMessage = larkExportTaskErrorMessage(result)\n\t\tout.ErrorDetail = larkExportTaskErrorDetail(result)\n\t} else if result.JobErrorMsg != nil {","sourceCodeStart":187,"sourceCodeEnd":223,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/lark/other.go#L187-L223","documentation":"Error \"lark export task response missing result\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/lark/other.go:205 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the referenced file/path/ID exists and is correct, then retry the operation."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"843d9dc8149126976b2625911e45a4d3ffd6f2f5","analyzedAt":"2026-08-15T12:14:11.722Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}