Hi, I have not been able to find a similar topic on this forum.
My team has a script to send events to our Amplitude project, and we are using Groups.
The script is simple and always does Group Identify API call before sending the event (via HTTP V2 API).
The name of our group is “license”. We use the Group Identify to set a bunch of license properties, including license_type. For the event in question, the expected value for license_type is pretty much always “evaluation”.
However, as you can see in this chart: https://analytics.amplitude.com/appfire/chart/new/gpbprvf
there is a mix. Some events come through with expected evaluation value for license_type group property, and some come through with license_type = NULL.
I have gone back and looked through my script’s logs, and can prove for at least 2 groups that I sent a Group Identify API call with license_type = EVALUATION for these groups before sending the EvaluationStarted event.
By drilling into View Groups on the March 13 point in the graph (for (none) line), you can see license E-3Z2-JYB-H8F-VWD is marked as having had license_type = NULL when the event fired. In the logs from my script I can see I made a Group Identify call as:
https://api2.amplitude.com/groupidentify?api_key=f6f0117b6ead029dbfaafff7cfa0d703&identification={"group_properties":{"maintenance_start_date":"2023-03-13", "maintenance_end_date":"2023-04-13", "installed_on_sandbox":"", "license_type":"EVALUATION", "country":"Australia", "hosting":"cloud", "region":"APAC", "partner_name":"", "partner_type":"", "evaluation_days_to_convert":"", "evaluation_end_date":"2023-04-13", "parent_name":"", "parent_edition":"", "parent_billing_cycle":"", "billing_cycle":"" },"group_value":"E-3Z2-JYB-H8F-VWD","group_type":"license"}
and I got a 200 response, and again, this call was made before sending the event.
Is there some sort of lag at play here with Group Identify API call not updating group properties in time before I send the event in the next few lines of code? I am getting 200 response codes all around.