{"record":{"id":"c67e991ea612b4f3","repo":"AlistGo/alist","slug":"driver-not-init","errorCode":null,"errorMessage":"driver not init","messagePattern":"driver not init","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/aliyundrive_open/limiter.go","lineNumber":66,"sourceCode":"\t\t}\n\t}()\n\tif lim, ok := limiters[userID]; ok {\n\t\tlim.usedBy++\n\t\treturn lim\n\t}\n\tlim := &limiter{\n\t\tusedBy: 1,\n\t\tlist:   rate.NewLimiter(rate.Limit(listRateLimit), 1),\n\t\tlink:   rate.NewLimiter(rate.Limit(linkRateLimit), 1),\n\t\tother:  rate.NewLimiter(rate.Limit(otherRateLimit), 1),\n\t}\n\tlimiters[userID] = lim\n\treturn lim\n}\n\nfunc (l *limiter) wait(ctx context.Context, typ limiterType) error {\n\tif l == nil {\n\t\treturn fmt.Errorf(\"driver not init\")\n\t}\n\tswitch typ {\n\tcase limiterList:\n\t\treturn l.list.Wait(ctx)\n\tcase limiterLink:\n\t\treturn l.link.Wait(ctx)\n\tcase limiterOther:\n\t\treturn l.other.Wait(ctx)\n\tdefault:\n\t\treturn fmt.Errorf(\"unknown limiter type\")\n\t}\n}\n\nfunc (l *limiter) free() {\n\tif l == nil {\n\t\treturn\n\t}\n\tlimitersLock.Lock()","sourceCodeStart":48,"sourceCodeEnd":84,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/aliyundrive_open/limiter.go#L48-L84","documentation":"Error \"driver not init\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/aliyundrive_open/limiter.go:66 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the storage configuration and the provider's service status, fix the indicated cause, and 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-16T03:17:38.424Z"}