Hey all! I'm getting this error in the Chrome exte...
# announcements
c
Hey all! I'm getting this error in the Chrome extension while trying to configure the extension with my host and api key, and on the console is throwing me this error each time I click "save"
GET /api/v1/visual-changesets/vcs_2pogalj77ccuv?includeExperiment=1 404
I'm using a self-hosted version of GrowthBook along with the React SDK. Everything else is properly working including reading/using the experiment data in the site. Does anyone know what could be causing the error?
s
Hey Edgar, that's strange. Could you confirm the GET request in your console is trying to reach your specified host?
c
@swift-helmet-3648 Yes, just confirmed and is trying to reach the right/specified host
s
The fact that it's receiving 404 means something must be wrong with the name or protocol...
Hostname*
c
hmm yeah, might be, I'm also trying to reach a couple of endpoints directly using an http client and I'm also getting a 404. But it is properly picking the experiment data using the growthbook client in the website using the same hostname 🤔
If i hit directly the host where we have the api deployed (the one that has the port specified) is actually working. But if I hit the proxy is where I'm getting the error at least on the extension and api. Do you know if we require any additional step on the proxy configuration to use the api/chrome extension directly?
s
I don't think the Proxy supports all API endpoints - it's just meant to support the SDK. I'm not fully aware of the configuration regarding that, maybe @happy-autumn-40938 could help.
c
yes, it is working now using the direct api host (no the proxy one) thanks for the help!
s
👍🏾