Skip to content

Commit

Permalink
chore(data-warehouse): hubspot integration increase prop length (#20241)
Browse files Browse the repository at this point in the history
increase prop length
  • Loading branch information
EDsCODE authored Feb 9, 2024
1 parent 0aadf4e commit c2758b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posthog/temporal/data_imports/pipelines/hubspot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ def crm_objects(

props = ",".join(sorted(list(set(props))))

if len(props) > 5000:
if len(props) > 10000:
raise ValueError(
(
"Your request to Hubspot is too long to process. "
"Maximum allowed query length is 2000 symbols, while "
"Maximum allowed query length is 10000 symbols, while "
f"your list of properties `{props[:200]}`... is {len(props)} "
"symbols long. Use the `props` argument of the resource to "
"set the list of properties to extract from the endpoint."
Expand Down

0 comments on commit c2758b8

Please sign in to comment.