Hey everyone! Here is a situation that I am facing beign new using amplitude. We’re trying to use amplitude Evaluation REST API to get users’ variant for a feature flag we’ve created. All seems to be alright, deployment key is created, feature flag is created and active but for some reason when I try to get user variant it always returns an empty object
https://www.docs.developers.amplitude.com/experiment/apis/evaluation-api/#example
I’ve tested from that page and also doing a cURL.
Any help would be awesome! Thanks
Hello
I looked at one of the Feature Flags enabled in your organization and noticed that it’s only released to 40% of users. This would mean that more users would have an empty object or off for the feature flag than on.
Looking at the project the FF belongs to doesn’t seem there are many unique users in the past 7 days (Since the FF was created on Jan 18th) with only 4 unique users. I would suggest using the Evaluation API UI and there will be users who get the on value: https://www.docs.developers.amplitude.com/experiment/apis/evaluation-api/#example.
Hey there! didn’t know that empty object means off. Thank you for that catch up! We’ve almost no users because we’re @ development phase, thank you for your help!
Reply
Welcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comWelcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.