How long does it take after I updated the feature ...
# announcements
w
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
Once you publish the changes, they should be available within 1 minute
w
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
It looks like you might be using a production API key instead of development.
w
I have also tried clearing cache and restarting my machine in case it is using old values
f
When a feature is toggled off, it's not returned in the API response at all.
w
How can I obtain the development API key?
f
If you go to Settings, then API Keys you should see it
w
That works, thank you