AlistGo/alist · error

path not found: %s (looking for part: %s)

Error message

path not found: %s (looking for part: %s)

What it means

Error "path not found: %s (looking for part: %s)" thrown in AlistGo/alist.

Source

Thrown at drivers/proton_drive/util.go:100

		entries, err := d.protonDrive.ListDirectory(ctx, currentLink.LinkID)
		if err != nil {
			return nil, fmt.Errorf("failed to list directory: %w", err)

		}

		found := false
		for _, entry := range entries {
			// entry.Name is already decrypted!
			if entry.Name == part && entry.IsFolder == searchForFolder {
				currentLink = entry.Link
				found = true
				break
			}
		}

		if !found {
			return nil, fmt.Errorf("path not found: %s (looking for part: %s)", fullPath, part)
		}
	}

	return currentLink, nil
}

func (pr *progressReader) Read(p []byte) (int, error) {
	n, err := pr.reader.Read(p)
	pr.current += int64(n)

	if pr.callback != nil {
		percentage := float64(pr.current) / float64(pr.total) * 100
		pr.callback(percentage)
	}

	return n, err
}

View on GitHub (pinned to 843d9dc814)

Solutions

  1. Verify the referenced file/path/ID exists and is correct, then retry the operation.

When it happens

Trigger: Thrown at drivers/proton_drive/util.go:100 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/cb36bc4afc8e19fb. Report an issue: GitHub.