klaviyo-api-python icon indicating copy to clipboard operation
klaviyo-api-python copied to clipboard

$source no longer returned in properties from get_profiles calls

Open nburt opened this issue 9 months ago • 1 comments

I'm in the process of trying to upgrade from v8.0.1 to latest and I'm seeing that the $source field is no longer returned in the properties object of the profile. Is that intended? I'm not seeing anything in the changelogs about the removal.

We set a custom source depending on where our users subscribe from on the website so I have some tests which check that we're setting it correctly which are now broken

example api call:

klaviyo = KlaviyoAPI(
            settings.KLAVIYO_API_KEY,
            max_delay=60,
            max_retries=3,
            options={"USE_DICTIONARY_FOR_RESPONSE_DATA": True}
        )

response = klaviyo.Profiles.get_profiles(
                filter=f'equals(email,"{email}")',
                additional_fields_profile=["subscriptions"],
            )

nburt avatar Jun 03 '25 23:06 nburt

I would recommend reaching out to the Klaviyo Support team so that we can assist you further by looking at your account-specific details and the API requests. I believe that this may be a discrepancy with the Get Profiles API itself and not related to the SDK, but we'll need to investigate the API calls in detail in order to be certain.

cpcurtis1218 avatar Jun 10 '25 17:06 cpcurtis1218