diff --git a/hubspot/utils/requests/http_request_builder.py b/hubspot/utils/requests/http_request_builder.py index 047674bc..fc3a3f87 100644 --- a/hubspot/utils/requests/http_request_builder.py +++ b/hubspot/utils/requests/http_request_builder.py @@ -67,8 +67,9 @@ def generate_url(self) -> str: qs = self.options.get("qs") if qs: - query_string = urlencode(qs) - url += f"?{query_string}" + query_string = urlencode(qs, doseq=True) + delimiter = "&" if "?" in url else "?" + url += f"{delimiter}{query_string}" return url