AlistGo/alist · error

file ID required

Error message

file ID required

What it means

Error "file ID required" thrown in AlistGo/alist.

Source

Thrown at drivers/streamtape/driver.go:513

	}
	if fileIDs == "" {
		fileIDs = fileIDFromObjID(args.Obj.GetID())
	}
	if fileIDs == "" {
		return nil, fmt.Errorf("file IDs required")
	}

	var result fileInfoResult
	if err := d.callAPI(ctx, "/file/info", map[string]string{"file": fileIDs}, &result); err != nil {
		return nil, err
	}
	return result, nil
}

func (d *Streamtape) thumbnail(ctx context.Context, args model.OtherArgs) (interface{}, error) {
	fileID := fileIDFromObjID(args.Obj.GetID())
	if fileID == "" {
		return nil, fmt.Errorf("file ID required")
	}

	var result string
	if err := d.callAPI(ctx, "/file/getsplash", map[string]string{"file": fileID}, &result); err != nil {
		return nil, err
	}
	return result, nil
}

func (d *Streamtape) conversionStatus(ctx context.Context, args model.OtherArgs) (interface{}, error) {
	isFailed := false
	if data, ok := args.Data.(map[string]interface{}); ok {
		if t, ok := data["type"].(string); ok && t == "failed" {
			isFailed = true
		}
	}

	endpoint := "/file/runningconverts"

View on GitHub (pinned to 843d9dc814)

Solutions

  1. Supply the required field in the request or storage configuration and retry the operation.

When it happens

Trigger: Thrown at drivers/streamtape/driver.go:513 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of AlistGo/alist@843d9dc814 (2026-08-15). Data as JSON: /api/errors/c078ce9ae7ff3032. Report an issue: GitHub.