# BigQuery Error: No matching signature for function (Causes and Fixes) | Masthead

A function was called with argument types that none of its signatures accept, for example DATE_DIFF with a DATE and a TIMESTAMP, or SUBSTR on an INT64. BigQuery lists every signature and which argument didn't fit. Convert that argument with CAST or a date function.

> For the index of this section of the site, see [llms.txt](https://mastheadata.com/llms.txt)

BigQuery error · Query and syntax errors

# No matching signature for function

A function was called with argument types that none of its signatures accept, for example DATE\_DIFF with a DATE and a TIMESTAMP, or SUBSTR on an INT64. BigQuery lists every signature and which argument didn't fit. Convert that argument with CAST or a date function.

Error reason `invalidQuery` · HTTP 400 · Checked against the [Google Cloud docs](https://docs.cloud.google.com/bigquery/docs/troubleshoot-queries) in November 2026

## The error message

No matching signature for function <FUNCTION> Argument types: <argument\_types> Signature: <FUNCTION>(<expected\_types>) Argument <n>: Unable to coerce type <type> to expected type <expected\_type> at \[<line>:<column>\]

## Causes

### Mixed date and time types

`DATE_DIFF(CURRENT_DATE(), TIMESTAMP '2026-11-01 10:00:00 UTC', DAY)` fails: DATE\_DIFF accepts two DATEs, two DATETIMEs or two TIMESTAMPs, and the message shows each signature with the argument that couldn't be coerced, such as `Argument 2: Unable to coerce type TIMESTAMP to expected type DATE`.

### A number passed to a string function

`SUBSTR(20261123, 1, 4)` fails with `Argument types: INT64, INT64, INT64` because SUBSTR takes STRING or BYTES. The same happens with dates stored as integers such as `20261123`.

### A function from another dialect with different arguments

Functions that exist in BigQuery under the same name but with another argument order or types, such as `DATE_DIFF` (end date first) or `DATE_TRUNC` (part last), fail when written the way Snowflake, Redshift or SQL Server expect. A name that doesn't exist at all gives `Function not found` instead.

### Older message format

Older BigQuery versions, and the Google docs, show the error on one line: `No matching signature for function <FUNCTION> for argument types: <types>. Supported signatures: ...`.

## How to fix it

### 1\. Use the function that matches the type

Pick the function family of the value's type, or convert one argument so both are the same type.

```
SELECT
  DATE_DIFF(DATE '2026-11-23', DATE(TIMESTAMP '2026-11-01 10:00:00 UTC'), DAY) AS days_since_signup,
  TIMESTAMP_DIFF(TIMESTAMP '2026-11-23 10:00:00 UTC', TIMESTAMP '2026-11-01 10:00:00 UTC', HOUR) AS hours_since_signup;
```

### 2\. Cast numbers to STRING for string functions

Convert explicitly, or parse integer dates into real DATE values once.

```
SELECT
  SUBSTR(CAST(20261123 AS STRING), 1, 4) AS year_text,
  PARSE_DATE('%Y%m%d', CAST(20261123 AS STRING)) AS order_date;
```

### 3\. Check the argument order in the GoogleSQL reference

BigQuery's `DATE_DIFF(end_date, start_date, part)` and `DATE_TRUNC(date, part)` differ from other warehouses. See [DATE\DIFF](https://mastheadata.com/bigquery/functions/date-diff.md) and [DATE\TRUNC](https://mastheadata.com/bigquery/functions/date-trunc.md).

## How to prevent it

*   Store dates as DATE or TIMESTAMP, not as integers or strings, so functions don't need conversions in every query.
*   Dry-run migrated SQL in CI: signature errors are found at analysis time, for free.

## FAQ

Is a query that fails with No matching signature billed?

No. It fails during analysis, before any data is read, so nothing is billed on-demand and no slot time is used under editions.

How do I read the multi-line error?

The first lines show the types you passed. Each `Signature:` line is one accepted form of the function, followed by the argument number that didn't fit and why. Fix the argument named under the signature you meant to use.

Why does CONCAT('order-', 42) work but SUBSTR(42, 1, 1) doesn't?

Functions differ in which implicit conversions they allow. CONCAT accepts the INT64 here, while SUBSTR only has STRING and BYTES signatures. When in doubt, cast explicitly.

## Related

[No matching signature for operator](https://mastheadata.com/bigquery/errors/no-matching-signature-for-operator.md)[Syntax error: Expected end of input but got](https://mastheadata.com/bigquery/errors/syntax-error-expected-end-of-input.md)[Could not cast literal to type](https://mastheadata.com/bigquery/errors/could-not-cast-literal.md)[Failed to parse input string](https://mastheadata.com/bigquery/errors/failed-to-parse-input-string.md)

### SQL reference

[DATE\DIFF](https://mastheadata.com/bigquery/functions/date-diff.md)[DATE\TRUNC](https://mastheadata.com/bigquery/functions/date-trunc.md)[TIMESTAMP\DIFF](https://mastheadata.com/bigquery/functions/timestamp-diff.md)[CAST](https://mastheadata.com/bigquery/functions/cast.md)[PARSE\DATE](https://mastheadata.com/bigquery/functions/parse-date.md)[SUBSTR](https://mastheadata.com/bigquery/functions/substr.md)

### More query and syntax errors

[Aggregate function not allowed in WHERE clause](https://mastheadata.com/bigquery/errors/aggregate-function-not-allowed-in-where.md)[Analytic function not allowed in WHERE clause](https://mastheadata.com/bigquery/errors/analytic-function-not-allowed-in-where.md)[Cannot query over table without a filter for partition elimination](https://mastheadata.com/bigquery/errors/cannot-query-without-partition-filter.md)[Column name is ambiguous](https://mastheadata.com/bigquery/errors/column-name-is-ambiguous.md)[Correlated subqueries that reference other tables are not supported](https://mastheadata.com/bigquery/errors/correlated-subqueries-not-supported.md)[Scalar subquery produced more than one element](https://mastheadata.com/bigquery/errors/scalar-subquery-produced-more-than-one-element.md)[SELECT list expression references column which is neither grouped nor aggregated](https://mastheadata.com/bigquery/errors/column-neither-grouped-nor-aggregated.md)[Syntax error: Unexpected keyword](https://mastheadata.com/bigquery/errors/syntax-error-unexpected-keyword.md)[Table must be qualified with a dataset](https://mastheadata.com/bigquery/errors/table-name-missing-dataset.md)[The query is too large](https://mastheadata.com/bigquery/errors/query-too-large.md)[Unrecognized name](https://mastheadata.com/bigquery/errors/unrecognized-name.md)

[All BigQuery error messages](https://mastheadata.com/bigquery/errors.md) · [What 50M daily events say about BigQuery failures](https://mastheadata.com/bigquery-error-analysis.md)
---

## Other pages in errors

> For the full index of this section, see [BigQuery Reference](https://mastheadata.com/llms/llms-bigquery-reference.txt).

- [BigQuery Error: User does not have permission to query table, or perhaps it does not exist (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/access-denied-permission-to-query-table.md): The job runs, but the identity running it can't read one of the tables or views it references, or the table doesn't exist under that name and location. BigQuery masks which one when you lack metadata access. Check the exact name and region first, then grant BigQuery Data Viewer on the table or dataset.
- [BigQuery Error: Aggregate function not allowed in WHERE clause (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/aggregate-function-not-allowed-in-where.md): An aggregate such as SUM, COUNT or MAX is used in WHERE, which filters rows before they are grouped. Move the condition to HAVING, which filters groups after aggregation, or aggregate in a subquery and filter in the outer query.
- [BigQuery Error: Already Exists: Table (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/already-exists-table.md): The job tried to create a table that already exists: a plain CREATE TABLE, an API insert, or a write with WRITE_EMPTY into a table that has data. Decide what should happen to the existing table: keep it (IF NOT EXISTS), replace it (CREATE OR REPLACE, WRITE_TRUNCATE) or add to it (INSERT, WRITE_APPEND).
- [BigQuery Error: Analytic function not allowed in WHERE clause (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/analytic-function-not-allowed-in-where.md): A window (analytic) function such as ROW_NUMBER, RANK or LAG is used in WHERE, which is evaluated before window functions. Filter on it with QUALIFY instead, or compute it in a subquery and filter in the outer query.
- [BigQuery Error: Array cannot have a null element (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/array-cannot-have-null-element.md): BigQuery can use arrays containing NULL inside a query, but it can't return or store them. The error appears when a query result, a table write or a load contains an array with a NULL element, usually from ARRAY_AGG over a nullable column. Add IGNORE NULLS to ARRAY_AGG or filter NULLs out before building the array.
- [BigQuery Error: Array index is out of bounds (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/array-index-out-of-bounds.md): You read an array position that doesn't exist, for example element 3 of a 2-element array, typically SPLIT(...)[OFFSET(2)] on a string with fewer parts than expected. BigQuery fails the query instead of returning NULL. Use SAFE_OFFSET or SAFE_ORDINAL, which return NULL for missing positions.
- [BigQuery Error: Bad int64 value (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/bad-int64-value.md): CAST(... AS INT64) received a string that isn't a whole number, such as "3.7", "1,200", "N/A" or an empty string, and the whole query failed. Use SAFE_CAST to get NULL for bad values, clean the string first, or cast through NUMERIC when decimals are expected.
- [BigQuery Error: BigQuery API has not been used in project before or it is disabled (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/bigquery-api-not-enabled.md): The project your request is billed to doesn't have the BigQuery API enabled. Check the project number in the message first: it is often not the project you expected but the client's default or quota project. Enable bigquery.googleapis.com there, or point the client at the right project.
- [BigQuery Error: Billing has not been enabled for this project (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/billing-not-enabled.md): The project runs in the BigQuery sandbox (no billing account), and you used a feature the sandbox doesn't offer: here DML (INSERT, UPDATE, DELETE, MERGE). Link a billing account to the project, then remove the 60-day expirations the sandbox put on your datasets and tables.
- [BigQuery Error: Cannot query over table without a filter for partition elimination (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/cannot-query-without-partition-filter.md): The table has require_partition_filter enabled, a cost guardrail that rejects any query that would read every partition. Add a WHERE condition that compares the partitioning column with a constant. The query fails at analysis, so nothing is billed.
- [BigQuery Error: Cannot read and write in different locations (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/cannot-read-and-write-in-different-locations.md): The job reads data in one location and writes the result to a dataset in another, and a BigQuery job can't cross locations. Write to a dataset in the source's location, or move the data first with a dataset copy, replication or an export and load.
- [BigQuery Error: Column name is ambiguous (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/column-name-is-ambiguous.md): The query reads two or more tables, subqueries or UNNEST results that all have a column with this name, and the reference doesn't say which one. Qualify the column with its table alias, join with USING, or rename one side.
- [BigQuery Error: SELECT list expression references column which is neither grouped nor aggregated (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/column-neither-grouped-nor-aggregated.md): The query has GROUP BY or an aggregate function, and a selected column is neither in GROUP BY nor inside an aggregate, so BigQuery can't pick one value per group. Add the column to GROUP BY, wrap it in an aggregate such as ANY_VALUE or MAX, or compute it in a separate step.
- [BigQuery Error: Correlated subqueries that reference other tables are not supported (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/correlated-subqueries-not-supported.md): A subquery reads another table and refers to a column of the outer query, and BigQuery couldn't rewrite it into a join. Rewrite it yourself: a JOIN with the condition, a pre-aggregated or deduplicated table joined on the key, or QUALIFY to pick one row per key.
- [BigQuery Error: Could not cast literal to type (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/could-not-cast-literal.md): A string literal in your SQL is compared with or passed to a DATE, DATETIME, TIME or TIMESTAMP, and it isn't a valid value of that type, such as "2024-02-30" or "01/15/2024". BigQuery checks this when it analyzes the query, so nothing runs. Fix the literal, or parse it with PARSE_DATE and an explicit format.
- [BigQuery Error: Could not serialize access to table due to concurrent update (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/could-not-serialize-access-concurrent-update.md): Two mutating DML statements (UPDATE, DELETE or MERGE) tried to change the same partition of a table at the same time. The first to commit wins and the other fails. Retry the loser after the other job finishes, partition the table so jobs touch different partitions, or run the writers one after another.
- [BigQuery Error: CSV table encountered too many errors, giving up (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/csv-table-encountered-too-many-errors.md): A CSV load job (or CSV external table) hit more bad rows than max_bad_records allows, 0 by default, so nothing was written. The message is only a summary: the cause is in the job's errors[] list, such as a header row, a stray quote, missing columns or a value that doesn't fit the column type.
- [BigQuery Error: Custom quota exceeded: QueryUsagePerDay (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/custom-quota-exceeded.md): An administrator capped how many bytes on-demand queries may process per day, and the project (QueryUsagePerDay) or your user (QueryUsagePerUserPerDay) hit that cap. New queries fail until the quota resets at midnight Pacific Time, the cap is raised, or the work runs in another project.
- [BigQuery Error: Dataset was not found in location (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/dataset-not-found-in-location.md): BigQuery looked for the dataset in the project and location the job runs in and didn't find it. Either the name or project is wrong (dataset names are case-sensitive), or the dataset lives in another location than the job, for example EU data queried by a job running in US.
- [BigQuery Error: division by zero (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/division-by-zero.md): A division in your query hit a zero denominator, and in BigQuery that fails the whole query instead of returning NULL. It applies to INT64, NUMERIC and FLOAT64 alike. Use SAFE_DIVIDE(x, y), which returns NULL, or guard the denominator with NULLIF(y, 0).
- [BigQuery Error: UPDATE or DELETE statement would affect rows in the streaming buffer (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/dml-over-streaming-buffer.md): Your UPDATE, DELETE or MERGE targets rows that were streamed in recently with the legacy insertAll API (now called Storage Write API REST) and are still in the streaming buffer. Exclude recent rows with a filter, wait for the buffer to flush, or stream with the Storage Write API (gRPC), whose rows DML can modify.
- [BigQuery Error: Failed to parse input string (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/failed-to-parse-input-string.md): PARSE_DATE, PARSE_DATETIME or PARSE_TIMESTAMP got a string that doesn't match the format you passed, typically extra characters (a time after a date), a missing part, or a T where the format has a space. Match the format to the data exactly, or use SAFE.PARSE_DATE to get NULL for rows that don't fit.
- [BigQuery Error: Integer Overflow (INT64) (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/int64-overflow.md): An INT64 calculation went past the type's range (about 9.22 quintillion either way), and BigQuery fails the query instead of wrapping around. Large IDs or microsecond timestamps multiplied are typical. Cast to NUMERIC or BIGNUMERIC first, or use SAFE_ADD or SAFE_MULTIPLY to get NULL.
- [BigQuery Error: Operation timed out after 6.0 hours (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/job-timed-out.md): A BigQuery query or statement can run for at most 6 hours. The job hit that limit and failed. Make it do less work (partition filters, fewer columns, incremental processing) or split it into smaller jobs. A job that hits your own jobTimeoutMs fails with reason stopped instead.
- [BigQuery Error: JSON table encountered too many errors, giving up (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/json-table-encountered-too-many-errors.md): A JSON load job (or a JSON external table) hit more bad rows than max_bad_records allows, 0 by default, so nothing was loaded. The detail is in the job's errors[] list, usually a field missing from the schema, an array or object where the schema expects a scalar, or a file that isn't newline-delimited JSON.
- [BigQuery Error: No matching signature for operator (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/no-matching-signature-for-operator.md): An operator such as =, <, >= or IN got two values of types BigQuery won't compare or combine implicitly: STRING vs INT64, DATE vs TIMESTAMP, DATETIME vs TIMESTAMP. Convert one side explicitly with CAST, SAFE_CAST or a date function so both sides have the same type.
- [BigQuery Error: Permission bigquery.tables.get denied on table (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/permission-bigquery-tables-get-denied.md): The caller asked for a table's metadata (schema, size, existence) without the bigquery.tables.get permission, or the table isn't there. Tools trigger it more often than queries: connectors, dbt, bq show and client get_table calls. Grant BigQuery Metadata Viewer or Data Viewer on the table or dataset.
- [BigQuery Error: Permission denied while getting Drive credentials (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/permission-denied-drive-credentials.md): A query touched a Google Sheets or Drive external table, and the credentials running it can't read the file in Drive: either they lack the Drive OAuth scope or the file isn't shared with that identity. Share the Sheet with the user or service account and authenticate with the Drive scope.
- [BigQuery Error: Provided Schema does not match Table (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/provided-schema-does-not-match-table.md): A load, query append, copy or schema update sent a schema that conflicts with the table, most often a column whose type changed. BigQuery never changes a column type implicitly. Cast the data to the table's type, or widen the column with ALTER COLUMN SET DATA TYPE when the change is supported.
- [BigQuery Error: Query exceeded limit for bytes billed (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/query-exceeded-limit-for-bytes-billed.md): BigQuery estimated, before running the query, that it would bill more bytes than the job's maximum bytes billed setting allows, so it refused to start. Nothing is charged. Read fewer columns or partitions, or raise the limit to at least the number in the message.
- [BigQuery Error: Query exceeded resource limits (CPU per bytes billed) (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/query-exceeded-resource-limits.md): On-demand pricing charges by bytes scanned, so BigQuery caps how much CPU a query may burn per byte: about 256 CPU seconds per MiB scanned. A query that reads little data but computes a lot (an exploding join, a range join, heavy regex or JavaScript UDFs) fails. Reduce the computation, or run it on editions slots.
- [BigQuery Error: Not enough resources for query planning (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/query-too-complex.md): After BigQuery expanded every view, WITH clause and SQL UDF, the query plan was too big to build. Split the query: materialize intermediate results in temporary tables inside a script, and cut repeated CTEs, deeply nested views and long UNION ALL chains.
- [BigQuery Error: The query is too large (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/query-too-large.md): The SQL text is longer than BigQuery's limit of 1,024K characters, counting comments and whitespace. It is almost always a huge inline list (IN with thousands of IDs, VALUES rows, a generated CASE). Pass the list as an array query parameter or load it into a table and join.
- [BigQuery Error: Quota exceeded: free query bytes scanned (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/quota-exceeded-free-query-bytes.md): 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.
- [BigQuery Error: Quota exceeded: imports or query appends per table (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/quota-exceeded-imports-per-table.md): One table received too many load, copy or query append/overwrite jobs: the limit is 1,500 table modifications per table per day, enforced as a rate throughout the day. Batch writes into fewer jobs, or switch to DML or the Storage Write API, which don't count. The limit can't be raised.
- [BigQuery Error: Quota exceeded: partition modifications to a column partitioned table (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/quota-exceeded-partition-modifications.md): Jobs touched too many partitions of one column-partitioned table today: the limit is 30,000 partition modifications per table per day, and a job that rewrites 1,000 daily partitions uses 1,000. Shrink rewrite windows, partition more coarsely, or batch loads. DML and streaming don't count.
- [BigQuery Error: Quota exceeded: max number of jobs that can be queued per project (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/quota-exceeded-queued-jobs.md): The project's query queue in this region is full: BigQuery queues at most 1,000 interactive and 20,000 batch queries per project per region, and rejects the next one. Slow the submission rate, switch bulk work to batch priority, or add capacity. The limit itself can't be raised.
- [BigQuery Error: Resources exceeded during query execution (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/resources-exceeded-during-query-execution.md): One stage of the query needed more memory than a single BigQuery worker has. The message names the culprit: usually a global ORDER BY, a huge ARRAY_AGG or STRING_AGG group, a skewed JOIN or GROUP BY key, or a window function over one giant partition. Remove or limit that one operation.
- [BigQuery Error: Response too large to return (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/response-too-large.md): The query result, or one stage of the query, is bigger than the maximum response size (10 GB compressed for results written to the temporary table). Write the result to a destination table or export it to Cloud Storage, or return fewer rows and columns.
- [BigQuery Error: Scalar subquery produced more than one element (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/scalar-subquery-produced-more-than-one-element.md): A subquery used as a single value, in SELECT, WHERE or SET, returned two or more rows at run time. Make it return at most one row (aggregate it, filter on a unique key, add LIMIT 1 with ORDER BY), or use ARRAY(...) or a JOIN if several rows are expected.
- [BigQuery Error: Syntax error: Expected end of input but got (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/syntax-error-expected-end-of-input.md): The parser read a complete statement and then found more text it can't attach to it: a second statement without a semicolon, LIMIT before ORDER BY, ORDER BY before UNION ALL, or syntax from another dialect such as SELECT TOP. The token named in the message is where the extra text starts.
- [BigQuery Error: Syntax error: Unexpected keyword (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/syntax-error-unexpected-keyword.md): The parser reached a reserved keyword where it can't be used: most often a reserved word used as a column, alias or table name (END, ORDER, GROUP, RANGE, ROWS, HASH...), or a clause written in the wrong place. Go to the line and column in the message and quote the name with backticks or move the clause.
- [BigQuery Error: Table must be qualified with a dataset (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/table-name-missing-dataset.md): The query names a table without its dataset, and the job has no default dataset to resolve it. Write the table as dataset.table or project.dataset.table. Older BigQuery versions printed the same error as Table name "<table>" missing dataset while no default dataset is set in the request.
- [BigQuery Error: Table was not found in location (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/table-not-found.md): The table in the query doesn't exist under that exact project, dataset and name in the job's location. Check the spelling and case, the project the reference resolves to, and whether the table expired or was deleted; a deleted table can be restored within the time travel window.
- [BigQuery Error: Exceeded rate limits: too many api requests per user per method (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/too-many-api-requests-per-user-per-method.md): One user or service account called the same BigQuery API method too fast. Most methods allow 100 requests per second per user per method; tables.insert and projects.list allow 10. Add exponential backoff, stop tight polling loops, and cache metadata instead of fetching it on every call.
- [BigQuery Error: Too many DML statements outstanding against table (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/too-many-dml-statements-outstanding.md): More than 20 UPDATE, DELETE, MERGE or TRUNCATE TABLE statements are already queued for one table, so BigQuery rejects the next one. It runs at most two mutating statements per table at a time. Batch many small statements into one MERGE: it fixes the error and, on-demand, cuts the bill.
- [BigQuery Error: Exceeded rate limits: too many table update operations (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/too-many-table-update-operations.md): Something updates one table's metadata faster than BigQuery allows: 5 operations per 10 seconds for a standard table, 50 for a partitioned one. Loads, copies, query appends, DDL and table patches all count. It is a short-term limit: retry with backoff, then batch the writes so they arrive less often.
- [BigQuery Error: Unrecognized name (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/unrecognized-name.md): A column, alias or range variable in the query doesn't exist in the scope where it is used. Usually it is a typo (BigQuery then adds "Did you mean ...?"), a SELECT alias used in WHERE or GROUP BY of the same query level, or a column that isn't in the tables of the FROM clause.
- [BigQuery Error: UPDATE/MERGE must match at most one source row for each target row (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/update-merge-must-match-at-most-one-source-row.md): Your MERGE or UPDATE ... FROM joined a target row to two or more source rows, so BigQuery can't tell which values to write. The source has duplicate keys, or the join condition is too loose. Deduplicate the source to one row per key (QUALIFY ROW_NUMBER() = 1) or aggregate it before the statement.
- [BigQuery Error: User does not have bigquery.jobs.create permission (Causes and Fixes) | Masthead](https://mastheadata.com/bigquery/errors/user-does-not-have-bigquery-jobs-create.md): You tried to run a job in a project where you can't create jobs. Read access to a dataset isn't enough: the project that runs and pays for the job must grant bigquery.jobs.create, usually via BigQuery Job User. Or run the job from a project where you already have it.
- [BigQuery Error Messages: Causes and Fixes | Masthead](https://mastheadata.com/bigquery/errors.md): 51 BigQuery error messages explained: what each one means, why it happens and how to fix it, from "Resources exceeded" and quota errors to permissions, DML conflicts and failed loads.
