"Missing_event" on Identify request

  • 5 January 2022
  • 1 reply


(This is also added as a comment on - but since that one is marked solved, I’m not sure it’ll get any attention there.)

I’m hitting this too, and changing my payload to encase the identifications in a string didn’t help. Working in python, and using this data as a json body in a POST to (Also tried api2.)

I’m previously tried:

'api_key': '<my-key>',
'identification': [{
'user_id': 'my_id',
'user_properties': {'email': ''}

After reading the tid=614 thread, I tried:

'api_key': '<my-key>',
'identification': '[{"user_id": "my_id", "user_properties": {"email": ""}}]'

I’m still getting the very uninformative “missing_event” 400 error.

Meanwhile, a direct curl call that follows the style given on, with the two --data arguments (--data api_key=<my-key> and --data identification=[{...}]), works. (Returns 200, effectively changes my email.)

(Is there a difference between the two --data arguments and one JSON dictionary?)

1 reply

Userlevel 4
Badge +2

Hi @apollograce ,


My understanding is you are adding the API Key and Identification key inside a single JSON body for the payload. This is unusual that it won’t work and just gives the error. 


I am not overly familiar with Python but I am going to show you a call you can use. 


import requests

url = ""

'identification': '[{"user_id":"my_id","user_properties":{"email":"my@fake.domain"}}]'}

headers = {}

response = requests.request("POST", url, headers=headers, data=payload, files=files)


Can you check for me if that works for you? Thank you!