AlistGo/alist · error
streamtape http error: %d
Error message
streamtape http error: %d
What it means
Error "streamtape http error: %d" thrown in AlistGo/alist.
Source
Thrown at drivers/streamtape/util.go:41
}
for k, v := range params {
if strings.TrimSpace(v) == "" {
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:") {View on GitHub (pinned to 843d9dc814)
Solutions
- 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:41 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/c584622cc2037b60.
Report an issue: GitHub.