Skip to main content
Question

unable to create people

  • December 21, 2023
  • 1 reply
  • 71 views

DevTech

I send a creation request according documentation https://customer.io/docs/api/track/#operation/identify:

 

# coding=utf-8

from customerio import CustomerIO, Regions

site_id = '...'
api_key = '...'

def add_people(userid, user_data):
    cio = CustomerIO(site_id, api_key, region=Regions.EU)

    # create a Person
    cio.identify(id=userid, **user_data)

 

the response is 200, but this data is not displayed in the People section. How to create?

1 reply

Penny
  • 133 replies
  • December 26, 2023

Hey there,

Would you be able to check and confirm that you’re looking in the correct workspace corresponding to the site_id and api_key used in your workspace? 

Per our documentation on this endpoint: if the identifier in the path and request body belong to different people, your request may return 200 OK but produce an Attribute Update Failure for the identifier in the payload, so you might also check to see if this could be the case here. 

Is this request not working for one specific profile, or is it not working for every/any profile? Would you be able to share the actual request payload (redacting any sensitive information such a site_id/api_keys or identifiable information of the profile you’re adding)? 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings