I am trying to set up Growthbook on my site to run...
# ask-questions
r
I am trying to set up Growthbook on my site to run a basic A/B experiment where a feature flag renders as true for half of anonymous users, and renders as false for the others. My javascript code is handling what to render based on whether that flag is true or false. However, I'm having an issue getting the experiment started. I set up a Metric and the SQL wrote itself, however there seems to be some kind of error screenshot attached. I dont understand what the error means.
f
hi George
this error is telling you that there are no event_* tables - is this data coming from Google Analytics?
r
Yes. Big Query
i dont have access to that account so if something needs to be set up are there instructions i can give my client?
@fresh-football-47124 following up here. How do we move forward with fixing this?
s
Hi @refined-rose-14039, it seems like BigQuery is connected successfully as a data source. Is that right? I think the first move I'd make to debug this would be to confirm that the data exists in BigQuery.
a
Hi @strong-mouse-55694 I am also experiencing this issue. The SQL created by Growthbook seems to have an issue. Omitting the "WHERE" clause does however return data. I am not sure how to debug this.
Resolved the issue by removing the ISO part from the date.
r
@strong-mouse-55694 the experiment data? It's not gonna be there. I'm trying to set up an experiment for the first time. The specific error is lapg-abtesting:growthbook_experiments.events_* does not match any table. I don't know what this means, what table its looking for, or what "data" should already be in Big Query if the experiment isn't tracking anything.
s
@quick-postman-31768 Glad you resolved it. Was the SQL generated via Fact Table metric?
@refined-rose-14039 I asked because in your screenshot it looked like you were setting up a metric, not the experiment exposure itself.
a
@strong-mouse-55694 yes the query was generated
👍 1
r
The experiment requires a metric
Screenshot 2025-03-10 at 7.03.41 PM.png
note the red ! icon next to the refresh button
when I click that i see this:
Screenshot 2025-03-10 at 7.04.31 PM.png
@strong-mouse-55694 @fresh-football-47124
s
@refined-rose-14039 As Graham mentioned above, that error says there isn't the event table in the db. Are you able to confirm that data exists in BigQuery or GA?
r
@strong-mouse-55694 I don't have access to the BigQ / GA account, so i don't know what "data" you're referencing. Or what you mean by "the data." The experiment hasn't started recording anything yet, so there couldn't be experiment data there.
s
We're just trying to help you figure out what's happening, but that error is going to be expected if that table doesn't exist in the database (BigQuery), as there won't be anything to query. GrowthBook doesn't write any data to the database—it relies on what's already there. In your case, it sound like you're doing a GA4 → BigQuery. So, before we troubleshoot anything on the GrowthBook, you should confirm that data is being written properly to BigQuery.
r
i dont know how to confirm that