AlistGo/alist · error

file IDs required

Error message

file IDs required

What it means

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

Source

Thrown at drivers/streamtape/driver.go:500

	if err := d.callAPI(ctx, "/remotedl/remove", map[string]string{"id": uploadID}, nil); err != nil {
		return nil, err
	}
	return true, nil
}

func (d *Streamtape) fileInfo(ctx context.Context, args model.OtherArgs) (interface{}, error) {
	var fileIDs string
	if data, ok := args.Data.(map[string]interface{}); ok {
		if ids, ok := data["file_ids"].(string); ok {
			fileIDs = ids
		}
	}
	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

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:500 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/f987db359c4f44eb. Report an issue: GitHub.