https://www.growthbook.io/ logo
w

witty-pillow-79680

05/31/2022, 2:17 PM
How long does it take after I updated the feature flag value on the portal for it to reflect on the UI? My setup is already manually recalling the api, but I am not seeing the flag values being updated. Thanks
f

future-teacher-7046

05/31/2022, 2:50 PM
Once you publish the changes, they should be available within 1 minute
w

witty-pillow-79680

05/31/2022, 3:59 PM
When I fetched my changes, I’m seeing the following 3 features only. The first picture is the log of
json
from
growthbook.setFeatures(json.features)
. However, my actual setup on Growthbook portal is as followed. I am using development environment. It seems like the flag value for
feature-test
is incorrect, and
feature-test-key-2
is missing from the payload I received. I checked the API key, and I believe I have the right one. Any idea of what is causing this?
f

future-teacher-7046

05/31/2022, 4:03 PM
It looks like you might be using a production API key instead of development.
w

witty-pillow-79680

05/31/2022, 4:03 PM
I have also tried clearing cache and restarting my machine in case it is using old values
f

future-teacher-7046

05/31/2022, 4:03 PM
When a feature is toggled off, it's not returned in the API response at all.
w

witty-pillow-79680

05/31/2022, 4:03 PM
How can I obtain the development API key?
f

future-teacher-7046

05/31/2022, 4:04 PM
If you go to Settings, then API Keys you should see it
w

witty-pillow-79680

05/31/2022, 4:21 PM
That works, thank you
5 Views