Hey!
I’m attempting to submit a post request via python to the Identify API, but I keep getting back a 400 “missing_event” error.
My request looks like:
IDENTIFY_ENDPOINT = 'https://api2.amplitude.com/identify'<br /> data = {<br /> 'api_key': API_KEY,<br /> 'identification': [{<br /> 'user_id': 'user_id',<br /> 'user_properties': { 'exp_group': 'control' }<br /> }]<br /> }<br /> res = post(IDENTIFY_ENDPOINT, headers={}, json=data)
I’ve seen other threads about a similar topic on this forum, but no helpful solutions from them.
Thanks in advance!