AlistGo/alist · error

streamtape api error: status=%d msg=%s

Error message

streamtape api error: status=%d msg=%s

What it means

Error "streamtape api error: status=%d msg=%s" thrown in AlistGo/alist.

Source

Thrown at drivers/streamtape/util.go:44

			continue
		}
		query[k] = v
	}

	var resp apiResponse
	r, err := base.RestyClient.R().
		SetContext(ctx).
		SetQueryParams(query).
		SetResult(&resp).
		Get(apiBase + endpoint)
	if err != nil {
		return err
	}
	if r.StatusCode() != http.StatusOK {
		return fmt.Errorf("streamtape http error: %d", r.StatusCode())
	}
	if resp.Status != 200 {
		return fmt.Errorf("streamtape api error: status=%d msg=%s", resp.Status, resp.Msg)
	}
	if out == nil || len(resp.Result) == 0 || string(resp.Result) == "null" {
		return nil
	}
	if err := json.Unmarshal(resp.Result, out); err != nil {
		return fmt.Errorf("decode streamtape result failed: %w", err)
	}
	return nil
}

func folderIDFromObjID(id string) string {
	if id == "" || id == "0" || id == "/" {
		return "0"
	}
	if strings.HasPrefix(id, "d:") {
		return strings.TrimPrefix(id, "d:")
	}
	return id

View on GitHub (pinned to 843d9dc814)

Solutions

  1. Inspect the underlying error details in the message, fix the indicated cause (credentials, network, or provider-side failure), and retry.

When it happens

Trigger: Thrown at drivers/streamtape/util.go:44 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/7f587e736f44d93e. Report an issue: GitHub.