Hey! We have a strange issue – when we add an acti...
# ask-questions
a
Hey! We have a strange issue – when we add an activation metric to the experiment results, a query for one of our metrics returns error code 400:
Copy code
400: <html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.
</body></html>
While the query runs successfully in DataGrip. Maybe anyone had the same issue and can help? Thanks!
f
Can you see if there is a more detailed error message in the console?
Do you get this error when adding the activation metric?
or when refreshing the report, or somewhere else?
a
Can you see if there is a more detailed error message in the console?
Could you explain please, what console you mean?)
Do you get this error when adding the activation metric?
Yes, after we added activation metric to the report, it responds with error above. Metric is ratio, based on a Fact table.
r
The console would be the Developer Console in Google Chrome, which you can view by clicking View > Developer > Developer Tools in your computer's menu bar when Chrome is open. Click on the "Console" tab -- what do you see in the window? Please send a screenshot.
a
Oh, got it. There is nothing, no errors. By the way this mistake is reproduced in different browsers (Safari/Chrome).
r
Hmm... OK. Thanks for looking in the Developer Console in Chrome and for trying this on other browsers. The fact that the query runs fine within DataGrip makes me wonder if there's some issue with the DataGrip <> GrowthBook connection, or perhaps a typo in the SQL query. Could you please send the SQL query? You can send it to me via DM if it contains any sensitive info.