Hi there, I’m getting the error: “Invalid id length for user_id or device_id”,
while calling the track_event api. I passed the min_id_length to one, still I’m getting errors for user ids < 5 character and I have user ids less than 5 character. Here’s the request, Please help me with this.
AmplitudeAPI::Event.new({
user_id: user_id,
event_type: event_type,
time: Time.now,
insert_id: SecureRandom.uuid,
event_properties: event_properties,
options: {
min_id_length: 1
}
})