{"record":{"id":"c6671afa9acd9538","repo":"wtfutil/wtf","slug":"s-c6671a","errorCode":null,"errorMessage":"%s","messagePattern":"%s","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"modules/rollbar/client.go","lineNumber":56,"sourceCode":"\tparams.Add(\"assigned_user\", assignedToName)\n\tif activeOnly {\n\t\tparams.Add(\"status\", \"active\")\n\t}\n\n\trequestURL := rollbarAPIURL.ResolveReference(&url.URL{RawQuery: params.Encode()})\n\treq, _ := http.NewRequest(\"GET\", requestURL.String(), http.NoBody)\n\treq.Header.Add(\"Accept\", \"application/json\")\n\treq.Header.Add(\"Content-Type\", \"application/json\")\n\n\thttpClient := &http.Client{}\n\tresp, err := httpClient.Do(req)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tdefer func() { _ = resp.Body.Close() }()\n\n\tif resp.StatusCode < 200 || resp.StatusCode > 299 {\n\t\treturn nil, fmt.Errorf(\"%s\", resp.Status)\n\t}\n\n\treturn resp, nil\n}\n","sourceCodeStart":38,"sourceCodeEnd":61,"githubUrl":"https://github.com/wtfutil/wtf/blob/bb838c1ccb0f0f3223690df44afdec663d622881/modules/rollbar/client.go#L38-L61","documentation":"Raised in rollbarItemRequest when the Rollbar API returns a non-2xx status: the error is just the HTTP status string (e.g. '403 Forbidden'), with no body. Fires for invalid access tokens, wrong project, rate limits, or server errors when fetching active items.","triggerScenarios":"Thrown at modules/rollbar/client.go:56 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the Rollbar access token (project read scope) is valid","Check the configured Rollbar project and endpoint URL","Inspect resp.Status in the message for the exact HTTP code","Back off on 429 rate-limit responses and retry later"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bb838c1ccb0f0f3223690df44afdec663d622881","analyzedAt":"2026-09-03T17:02:45.030Z","contentChangedAt":"2026-09-03T17:02:45.030Z","schemaVersion":2},"datasetVersion":"2026-09-11T00:17:11.886Z"}