You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Documentation on how to use property_propname for event endpoint #320
Hey @raphaelvarieras. The property_propname is used as a filter to select events based on the specified property. Unfortunately, this functionality in the SDK is not working as expected at the moment. We are planning to fix it as soon as possible. However, I can provide a cURL example demonstrating how it should work.
Example curl:
Any update on a fix for this? The code is broken in the Python SDK. Namely events_api.py lines 181-184:
if local_var_params.get("object_property_propname") is not None: # noqa: E501 query_params.append(("objectProperty.{propname}", local_var_params["object_property_propname"])) # noqa: E501 if local_var_params.get("property_propname") is not None: # noqa: E501 query_params.append(("property.{propname}", local_var_params["property_propname"])) # noqa: E501
Obviously using "property.{propname}" as the literal query string param isnt going to work.
Activity
alzheltkovskiy-hubspot commentedon Feb 18, 2025
Hey @raphaelvarieras. The
property_propnameis used as a filter to select events based on the specified property. Unfortunately, this functionality in the SDK is not working as expected at the moment. We are planning to fix it as soon as possible. However, I can provide a cURL example demonstrating how it should work.Example curl:
`https://api.hubapi.com/events/v3/events/?objectType=contacts&objectProperty.email=some_email@some.com&eventType=e_registered_marketing_event&property.hs_marketing_event_origin=online`ochrzan commentedon Apr 17, 2025
Any update on a fix for this? The code is broken in the Python SDK. Namely events_api.py lines 181-184:
if local_var_params.get("object_property_propname") is not None: # noqa: E501 query_params.append(("objectProperty.{propname}", local_var_params["object_property_propname"])) # noqa: E501 if local_var_params.get("property_propname") is not None: # noqa: E501 query_params.append(("property.{propname}", local_var_params["property_propname"])) # noqa: E501Obviously using "property.{propname}" as the literal query string param isnt going to work.
fredpalmer commentedon Apr 16, 2026
Same issue, a year later - same problem with
object_property_propnameis there a fix incoming?