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

adamant-river-54645

12/15/2023, 7:09 AM
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

fresh-football-47124

12/15/2023, 9:25 AM
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

adamant-river-54645

12/15/2023, 9:33 AM
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

rhythmic-agent-34208

12/15/2023, 5:30 PM
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

adamant-river-54645

12/18/2023, 6:28 AM
Oh, got it. There is nothing, no errors. By the way this mistake is reproduced in different browsers (Safari/Chrome).
r

rhythmic-agent-34208

12/19/2023, 10:08 PM
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.
4 Views