https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
m

miniature-agency-3305

12/12/2023, 12:25 PM
I seem to get this error on lots of requests currently where I should not get it:
Copy code
"Organization does not have premium feature: sample users"
I am trying to delete the force rule for a feature toggle or edit it and this is the only information I seem to get. (Self hosted)
f

future-teacher-7046

12/12/2023, 12:43 PM
Is this blocking you from performing actions or just something that shows up in the logs?
m

miniature-agency-3305

12/12/2023, 12:44 PM
It is blocking me from performing actions
I had to now go back to and old revision of the feature toggle before changes was made (because that still works for some reason) but I can not delete a force rule or edit one.
f

future-teacher-7046

12/12/2023, 12:46 PM
Do you see a
Test Feature Rules
section on the feature page?
m

miniature-agency-3305

12/12/2023, 12:47 PM
Yeah
f

future-teacher-7046

12/12/2023, 12:48 PM
I think the error is happening because you have saved archetypes, which are a paid feature, but your organization does not have a valid license key. You can try deleting those saved users and see if that helps
m

miniature-agency-3305

12/12/2023, 12:48 PM
archetypes? We have 3 active members.
f

future-teacher-7046

12/12/2023, 12:49 PM
You can save sets of attribute values as an "archetype". It will look something like this. Do you see this on the page?
m

miniature-agency-3305

12/12/2023, 12:49 PM
We don’t have any test feature rules used for anything
It’s empty
f

future-teacher-7046

12/12/2023, 12:52 PM
Ok, let me look into this and see if I can reproduce. Did you happen to start an enterprise trial at some point and it's now expired?
m

miniature-agency-3305

12/12/2023, 12:53 PM
Nope we have never tried the enterprise trial I am fairly certain, it still says “Try enterprise” down to the left.
f

future-teacher-7046

12/12/2023, 12:56 PM
Hmm. What happens exactly when you try to delete/edit a force rule? Does it show an error on the page? Fail silently with a console log?
m

miniature-agency-3305

12/12/2023, 12:57 PM
Yeah it says failed to fetch Request URL: https://{OUR_DOMAIN}/archetype/eval/{FEATURE_NAME}/4Request Method: GETStatus Code: 403 Forbidden
image.png
f

future-teacher-7046

12/12/2023, 1:01 PM
Is that the only request that failed? There should be a PUT request to
/feature/${feature.id}/${version}/rule
which is what actually performs the update
m

miniature-agency-3305

12/12/2023, 1:03 PM
hmm maybe this is just CORS related 🤔 🤦
but then it would be weird that I could add new rules and add new force rules
and it’s not on the browser at least so on the server then I guess
I am trying to do a save on an override rule but that gives me not PUT, I see some POST the API and some that says:
Copy code
Request URL:
https://{OUR_DOMAIN}/feature/{TOGGLE}/4/rule
Referrer Policy:
strict-origin-when-cross-origin
f

future-teacher-7046

12/12/2023, 1:38 PM
Yes, this sounds like a CORS configuration issue on your server. If you share the specific error your are getting for your PUT/POST requests and any load balancers / reverse proxies you are using, I can try and help debug
5 Views