Request a demo

BigQuery error · Quotas and rate limits

Quota exceeded: free query bytes scanned

Your project has no billing account (BigQuery sandbox) and has used its free monthly query allowance of 1 TiB processed. Every query that scans data now fails until the allowance resets next month or you link a billing account to the project.

Error reason quotaExceeded · HTTP 403 · Checked against the Google Cloud docs in November 2026

The error message

Quota exceeded: Your project exceeded quota for free query bytes scanned.

Causes

The sandbox's 1 TiB monthly allowance is used up

A project without billing runs in the BigQuery sandbox, which gets the same free compute as the free tier: 1 TiB of processed query data per month. Once queries in the project have processed that much, BigQuery rejects new queries with quotaExceeded. Paying projects never see this error; they are simply billed for usage above the free tier.

Wide scans of large tables

On-demand bytes are counted per column read, across the whole table unless a partition filter prunes it. SELECT * on a large public dataset can use a big share of the allowance in one query, and LIMIT does not reduce bytes scanned.

Dashboards and tools querying in the background

BI tools such as Looker Studio, Power BI or a notebook re-run queries on every refresh and filter change. Each query is billed at least 10 MB per table it references, so frequent small queries from a connected tool add up without anyone running anything by hand.

How to fix it

1. Link a billing account to the project

Enabling billing upgrades the project out of the sandbox and removes the hard stop. The first 1 TiB per month stays free; after that, on-demand queries are charged per TiB scanned (see BigQuery pricing). Set a budget alert and a custom daily quota at the same time so the hard stop becomes a limit you choose.

2. Wait for the monthly reset

If the project is for learning or a hobby, nothing is lost: the allowance is monthly, and queries work again after it resets. Storage is unaffected, although sandbox tables still expire after 60 days.

3. Find what consumed the allowance without running a query

Querying INFORMATION_SCHEMA.JOBS also processes bytes, so it fails too while the quota is exhausted. Use the job history in the console instead, or run this once billing is on, to see who scanned what this month.

SELECT
  user_email,
  COUNT(*) AS queries,
  ROUND(SUM(total_bytes_billed) / POW(1024, 4), 3) AS tib_billed
FROM `region-us`.INFORMATION_SCHEMA.JOBS
WHERE creation_time >= TIMESTAMP_TRUNC(CURRENT_TIMESTAMP(), MONTH)
  AND job_type = 'QUERY'
GROUP BY user_email
ORDER BY tib_billed DESC;

4. Scan fewer bytes per query

Select only the columns you need, filter on the partitioning column of partitioned tables, and check the byte estimate in the query editor (a free dry run) before you run anything against a large table.

-- Reads two columns of one day instead of the whole table
SELECT title, views
FROM `bigquery-public-data.wikipedia.pageviews_2024`
WHERE datehour >= TIMESTAMP '2024-06-01'
  AND datehour < TIMESTAMP '2024-06-02'
  AND wiki = 'en'
ORDER BY views DESC
LIMIT 10;

How to prevent it

  • Check the bytes estimate in the editor before running a query on any table you haven't queried before; a dry run is free.
  • Set maximum_bytes_billed on tool and notebook connections so one runaway query fails with Query exceeded limit for bytes billed instead of draining the month.
  • Point BI dashboards at small pre-aggregated tables, not at raw event tables.

FAQ

Am I charged when I see this error?

No. The project has no billing account, so nothing can be charged, and failed queries are not billed anyway. The error is the sandbox's way of stopping usage at the free limit.

When does the free query allowance reset?

The 1 TiB free allowance is monthly, so queries work again in the next monthly period. If you can't wait, link a billing account; usage above 1 TiB is then charged at on-demand rates.

Does enabling billing mean I start paying right away?

Not necessarily. The free tier still applies to billed projects: the first 1 TiB of queries and 10 GiB of storage each month are free. You pay only for usage above that, at the rates on the pricing page.

SQL reference

More quotas and rate limits

All BigQuery error messages · What 50M daily events say about BigQuery failures

Stop finding BigQuery failures in Slack threads

Masthead watches every BigQuery job, dbt model, Dataform action and Airflow task from audit logs, groups failures into incidents and shows which tables and dashboards are affected. No access to your data and no added BigQuery cost.