{"record":{"id":"7ef0c7ea48f687a3","repo":"AlistGo/alist","slug":"terabox-failed-to-create-file-errno-d","errorCode":null,"errorMessage":"[terabox] failed to create file, errno: %d","messagePattern":"\\[terabox\\] failed to create file, errno: (.+?)","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/terabox/driver.go","lineNumber":268,"sourceCode":"\tif err != nil {\n\t\treturn err\n\t}\n\tdata = map[string]string{\n\t\t\"path\":        rawPath,\n\t\t\"size\":        strconv.FormatInt(stream.GetSize(), 10),\n\t\t\"uploadid\":    precreateResp.Uploadid,\n\t\t\"target_path\": dstDir.GetPath(),\n\t\t\"block_list\":  uploadBlockListStr,\n\t\t\"local_mtime\": strconv.FormatInt(stream.ModTime().Unix(), 10),\n\t}\n\tvar createResp CreateResp\n\tres, err = d.post_form(\"/api/create\", params, data, &createResp)\n\tlog.Debugln(string(res))\n\tif err != nil {\n\t\treturn err\n\t}\n\tif createResp.Errno != 0 {\n\t\treturn fmt.Errorf(\"[terabox] failed to create file, errno: %d\", createResp.Errno)\n\t}\n\treturn nil\n}\n\nvar _ driver.Driver = (*Terabox)(nil)\n","sourceCodeStart":250,"sourceCodeEnd":274,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/terabox/driver.go#L250-L274","documentation":"Error \"[terabox] failed to create file, errno: %d\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/terabox/driver.go:268 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying error details in the message, fix the indicated cause (credentials, network, or provider-side failure), and retry."],"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"}