diff --git a/stored_requests/backends/http_fetcher/fetcher.go b/stored_requests/backends/http_fetcher/fetcher.go index 91a86226984..9777a21ba55 100644 --- a/stored_requests/backends/http_fetcher/fetcher.go +++ b/stored_requests/backends/http_fetcher/fetcher.go @@ -94,7 +94,8 @@ func (fetcher *HttpFetcher) FetchCategories(ctx context.Context, primaryAdServer if data, ok := fetcher.Categories[dataName]; ok { return data[iabCategory].Id, nil } - + //in NewFetcher function there is a code to add "?" at the end of url + //in case of categories we don't expect to have any parameters, that's why we need to remove "?" url := fmt.Sprintf("%s/%s/%s.json", strings.Replace(fetcher.Endpoint, "?", "", -1), primaryAdServer, publisherId) httpReq, err := http.NewRequest("GET", url, nil)