Hi, I'm getting this warning `*Warning:* Expected ...
# ask-questions
j
Hi, I'm getting this warning
*Warning:* Expected 3 variation ids (0, 1, 2), but database returned 1 ().
on a multivariate experiment. It's been awhile since I did a 3 or more variant test, so I wonder if I set it wrong. There is a button to update the id's, but each dropdown for the variants is empty.
f
Hi Erik. Do you have a lot of users in the experiment?
j
It's odd, there is no data. It's been running for 20 days.
f
what is your event tracker?
j
We use GA4
f
huh
j
Should the variation id being sent be numeric? It's showing "most-recent" is being sent.
I have the feature flag setup to serve: 0: "original" 1: "most-recent" 2: "most-purchased"
l
The variation ID is a number by default, but it’s in string format, so you can enter anything you like. It doesn’t necessarily have to match the feature flag value. You can check this by opening the experiment, then Implementation -> Variations -> Edit -> Switch to advanced mode
🙌 1
j
Ok so the variation ID's are correct in the experiment. I'm now going to look at how we pass multivariate data from our end to GA4. We haven't used our server side feature switch before so there may be a bug there.
Thanks for the help.