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'
data = {
'api_key': API_KEY,
'identification': a{
'user_id': 'user_id',
'user_properties': { 'exp_group': 'control' }
}]
}
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!