Error map

contention Firestore: 10 ABORTED: Too much contention on these documents. Please try again.

Google Cloud / Firebase · layer 6, Platform & cloud

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

contention — Firestore: 10 ABORTED: Too much contention on these documents. Please try again. (Google Cloud / Firebase)contentionDeadlock — Deadlock found when trying to get lock; try restarting transaction (SQL)DeadlockLock wait timeout — Lock wait timeout exceeded; try restarting transaction (MySQL 1205) (SQL)Lock wait timeoutFirestore: DEADLINE_EXCEEDED / UNAVAILABLE — Firestore: 4 DEADLINE_EXCEEDED: Deadline exceeded / 14 UNAVAILABLE: The service is currently unavailable (Google Cloud / Firebase)Firestore: DEADLINE…Firestore: Document exceeds the maximum size of 1,048,576 bytes — Firestore: 3 INVALID_ARGUMENT: The value of property "data" is longer than 1048487 bytes / Document exceeds the maximum size (Google Cloud / Firebase)Firestore: Document…isolation — Inconsistent results inside a transaction: non-repeatable and phantom reads (isolation level) (SQL)isolationCOMMIT — Changes disappear: transaction never committed (autocommit off, missing COMMIT) (SQL)COMMIT3902 — SQL Server Msg 3902: The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION (SQL)3902266 — SQL Server Msg 266: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements (SQL)266transaction — SQLite: cannot start a transaction within a transaction (SQL)transactionSpanner — Spanner: Session not found / ABORTED: transaction was aborted — retry the transaction (Google Cloud / Firebase)SpannerALREADY_EXISTS — Firestore: 6 ALREADY_EXISTS — document already exists (create() on an existing document) (Google Cloud / Firebase)ALREADY_EXISTShotspotting — Firestore write latency/errors: hotspotting from sequential document IDs or indexed fields (Google Cloud / Firebase)hotspotting1062 — MySQL ERROR 1062 (23000): Duplicate entry for key (MySQL)10622006 — MySQL ERROR 2006 (HY000): MySQL server has gone away (MySQL)20061213 — MySQL ERROR 1213 (40001): Deadlock found when trying to get lock; try restarting transaction (MySQL)12131040 — MySQL ERROR 1040 (08004): Too many connections (MySQL)1040HikariCP timeout — HikariPool-1 - Connection is not available, request timed out after 30000ms (Java)HikariCP timeout57014 — ERROR: canceling statement due to statement timeout (PostgreSQL)57014auth/network-request-failed — Firebase Auth: auth/network-request-failed — A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred (Authentication)auth/network-reques…Missing or insufficient permissions — Firestore: FirebaseError: [code=permission-denied]: Missing or insufficient permissions (Google Cloud / Firebase)Missing or insuffic…Firebase CLI: Authentication Error: Your credentials are no longer valid — Firebase CLI: Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth (Google Cloud / Firebase)Firebase CLI: Authe…Firebase: Your project must be on the Blaze (pay-as-you-go) plan — Firebase CLI: Error: Your project my-app must be on the Blaze (pay-as-you-go) plan to complete this command. Required API cloudbuild.googleapis.com can't be enabled until the upgrade is complete (Google Cloud / Firebase)Firebase: Your proj…Firestore: The query requires an index — Firestore: 9 FAILED_PRECONDITION: The query requires an index. You can create it here: https://console.firebase.google.com/... (Google Cloud / Firebase)Firestore: The quer…storage/unauthorized: User does not have permission to access — Firebase Storage: Firebase Storage: User does not have permission to access 'images/photo.jpg'. (storage/unauthorized) (Google Cloud / Firebase)storage/unauthorize…ConcurrentModificationException — java.util.ConcurrentModificationException (Java)ConcurrentModificat…InterruptedException — java.lang.InterruptedException (sleep interrupted) (Java)InterruptedExceptionTimeoutException — java.util.concurrent.TimeoutException (Java)TimeoutExceptionidle-in-transaction timeout — FATAL: terminating connection due to idle-in-transaction timeout (PostgreSQL)idle-in-transaction…cartesian — Query returns far too many rows: accidental Cartesian product (missing JOIN condition) (SQL)cartesianCASE — CASE expression returns mixed types: conversion failed / types cannot be matched (SQL)CASE40001 — ERROR: could not serialize access due to concurrent update (PostgreSQL)4000125P02 — ERROR: current transaction is aborted, commands ignored until end of transaction block (PostgreSQL)25P021205 — SQL Server Msg 1205: Transaction was deadlocked on lock resources and has been chosen as the deadlock victim (SQL)1205209 — SQL Server Msg 209: Ambiguous column name (SQL)209GitHub trigger — Cloud Build trigger doesn't fire or fails: GitHub connection/app not installed or repository not linked (Google Cloud / Firebase)GitHub triggerSQLITE_BUSY — sqlite3.OperationalError: database is locked (SQLITE_BUSY) (SQL)SQLITE_BUSYSQLite UNIQUE failed — sqlite3.IntegrityError: UNIQUE constraint failed: users.email (SQL)SQLite UNIQUE failedSQLite NOT NULL failed — sqlite3.IntegrityError: NOT NULL constraint failed: table.column (SQL)SQLite NOT NULL fai…retry-limit-exceeded — Firebase Storage: storage/retry-limit-exceeded — Max retry time for operation exceeded (Google Cloud / Firebase)retry-limit-exceeded2714 — SQL Server Msg 2714: There is already an object named 'X' in the database (SQL)2714undefined — Firestore: Function setDoc() called with invalid data. Unsupported field value: undefined (Google Cloud / Firebase)undefinedlimits — Firestore: Invalid Query. 'in' filters support a maximum of 30 elements (query limits) (Google Cloud / Firebase)limitsN+1 queries — Performance: N+1 query problem (one query per row in a loop) (SQL)N+1 queriespool timeout — Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. All pooled connections were in use and max pool size was reached. (SQL)pool timeoutSending build context — Docker build slow: "Sending build context to Docker daemon 2.5GB" / transferring context takes forever (Docker)Sending build conte…

Directly related (12)

DeadlockSQL

Deadlock found when trying to get lock; try restarting transaction

Two transactions waited on each other’s locks; the database killed one so the other could continue.

Lock wait timeoutSQL

Lock wait timeout exceeded; try restarting transaction (MySQL 1205)

A query waited too long for a row lock held by another transaction and gave up.

Firestore: DEADLINE_EXCEEDED / UNAVAILABLEGoogle Cloud / Firebase

Firestore: 4 DEADLINE_EXCEEDED: Deadline exceeded / 14 UNAVAILABLE: The service is currently unavailable

A Firestore request timed out or could not reach the service — contention, hot documents, large operations or network issues.

Firestore: Document exceeds the maximum size of 1,048,576 bytesGoogle Cloud / Firebase

Firestore: 3 INVALID_ARGUMENT: The value of property "data" is longer than 1048487 bytes / Document exceeds the maximum size

A single Firestore document (all fields combined) went beyond the 1 MiB limit.

isolationSQL

Inconsistent results inside a transaction: non-repeatable and phantom reads (isolation level)

Two reads in the same transaction see different data because another transaction committed in between.

COMMITSQL

Changes disappear: transaction never committed (autocommit off, missing COMMIT)

Data inserted or updated "works" in your session but isn't there for others, or is gone after reconnecting.

3902SQL

SQL Server Msg 3902: The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION

A COMMIT (or ROLLBACK 3903) ran when no transaction was open, often after an earlier error rolled everything back.

266SQL

SQL Server Msg 266: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements

A stored procedure or trigger exited with a different @@TRANCOUNT than it started with.

transactionSQL

SQLite: cannot start a transaction within a transaction

BEGIN was issued while a transaction was already open on the same connection.

SpannerGoogle Cloud / Firebase

Spanner: Session not found / ABORTED: transaction was aborted — retry the transaction

Spanner killed an idle session or aborted a transaction because of lock conflicts, and the client must retry.

ALREADY_EXISTSGoogle Cloud / Firebase

Firestore: 6 ALREADY_EXISTS — document already exists (create() on an existing document)

`create()` or a transaction tried to create a document at a path that is already taken.

hotspottingGoogle Cloud / Firebase

Firestore write latency/errors: hotspotting from sequential document IDs or indexed fields

Writes get slow or fail when many documents with monotonically increasing IDs or indexed values land in the same key range.

Two steps away (33)

1062MySQL

MySQL ERROR 1062 (23000): Duplicate entry for key

An INSERT/UPDATE would create a duplicate value in a PRIMARY or UNIQUE key.

2006MySQL

MySQL ERROR 2006 (HY000): MySQL server has gone away

The connection to MySQL was closed — usually by a timeout or a packet larger than `max_allowed_packet`.

1213MySQL

MySQL ERROR 1213 (40001): Deadlock found when trying to get lock; try restarting transaction

MySQL detected a deadlock between two transactions and rolled one back.

1040MySQL

MySQL ERROR 1040 (08004): Too many connections

MySQL reached `max_connections` and refuses new clients.

HikariCP timeoutJava

HikariPool-1 - Connection is not available, request timed out after 30000ms

The connection pool was exhausted — all connections were busy for 30 seconds.

57014PostgreSQL

ERROR: canceling statement due to statement timeout

A query ran longer than statement_timeout and PostgreSQL cancelled it.

auth/network-request-failedAuthentication

Firebase Auth: auth/network-request-failed — A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred

The Firebase Auth SDK couldn’t reach Google’s servers — offline, blocked by an extension/firewall, or (on Android emulators) miss…

Missing or insufficient permissionsGoogle Cloud / Firebase

Firestore: FirebaseError: [code=permission-denied]: Missing or insufficient permissions

Firestore Security Rules denied the read/write — the user isn’t signed in, the rule conditions don’t match, or test-mode rules ex…

Firebase CLI: Authentication Error: Your credentials are no longer validGoogle Cloud / Firebase

Firebase CLI: Error: Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth

The Firebase CLI's saved login expired or was revoked.

Firebase: Your project must be on the Blaze (pay-as-you-go) planGoogle Cloud / Firebase

Firebase CLI: Error: Your project my-app must be on the Blaze (pay-as-you-go) plan to complete this command. Required API cloudbuild.googleapis.com can't be enabled until the upgrade is complete

Deploying Cloud Functions needs the Blaze plan because it relies on Cloud Build and Artifact Registry.

Firestore: The query requires an indexGoogle Cloud / Firebase

Firestore: 9 FAILED_PRECONDITION: The query requires an index. You can create it here: https://console.firebase.google.com/...

Your Firestore query combines filters/orderings that need a composite index that does not exist yet.

storage/unauthorized: User does not have permission to accessGoogle Cloud / Firebase

Firebase Storage: Firebase Storage: User does not have permission to access 'images/photo.jpg'. (storage/unauthorized)

Firebase Security Rules for Cloud Storage denied the request for this path and user.

ConcurrentModificationExceptionJava

java.util.ConcurrentModificationException

A collection was modified while being iterated (even in a single thread).

InterruptedExceptionJava

java.lang.InterruptedException (sleep interrupted)

A blocked thread (sleep, wait, join, queue take) was interrupted by another thread.

TimeoutExceptionJava

java.util.concurrent.TimeoutException

A Future.get(timeout) or async operation didn’t complete in the allowed time.

idle-in-transaction timeoutPostgreSQL

FATAL: terminating connection due to idle-in-transaction timeout

A session opened a transaction and sat idle longer than idle_in_transaction_session_timeout.

cartesianSQL

Query returns far too many rows: accidental Cartesian product (missing JOIN condition)

Two tables were joined without a condition, so every row of one pairs with every row of the other.

CASESQL

CASE expression returns mixed types: conversion failed / types cannot be matched

The branches of a CASE expression produce incompatible data types (text and number, date and string).

40001PostgreSQL

ERROR: could not serialize access due to concurrent update

A REPEATABLE READ/SERIALIZABLE transaction conflicted with a concurrent one and must be retried.

25P02PostgreSQL

ERROR: current transaction is aborted, commands ignored until end of transaction block

An earlier statement in the same transaction failed; PostgreSQL rejects everything until you ROLLBACK.

1205SQL

SQL Server Msg 1205: Transaction was deadlocked on lock resources and has been chosen as the deadlock victim

Two sessions each hold locks the other needs, so SQL Server rolled one of them back.

209SQL

SQL Server Msg 209: Ambiguous column name

A column exists in more than one table of the query and isn't qualified.

GitHub triggerGoogle Cloud / Firebase

Cloud Build trigger doesn't fire or fails: GitHub connection/app not installed or repository not linked

A push or PR doesn't start a build, or the trigger shows a connection error with GitHub.

SQLITE_BUSYSQL

sqlite3.OperationalError: database is locked (SQLITE_BUSY)

Another connection holds a write lock on the SQLite file, and this one gave up waiting.

SQLite UNIQUE failedSQL

sqlite3.IntegrityError: UNIQUE constraint failed: users.email

An insert/update duplicated a value in a UNIQUE or PRIMARY KEY column in SQLite.

SQLite NOT NULL failedSQL

sqlite3.IntegrityError: NOT NULL constraint failed: table.column

A NULL went into a NOT NULL column in SQLite.

retry-limit-exceededGoogle Cloud / Firebase

Firebase Storage: storage/retry-limit-exceeded — Max retry time for operation exceeded

An upload or download kept failing until the SDK's retry window (default 2 minutes for uploads) ran out.

2714SQL

SQL Server Msg 2714: There is already an object named 'X' in the database

You tried to create a table, view, procedure or index with a name that already exists.

undefinedGoogle Cloud / Firebase

Firestore: Function setDoc() called with invalid data. Unsupported field value: undefined

A write contained a field whose value is `undefined`, which Firestore doesn't accept.

limitsGoogle Cloud / Firebase

Firestore: Invalid Query. 'in' filters support a maximum of 30 elements (query limits)

An `in`, `array-contains-any` or `not-in` clause has more values than Firestore allows (30 for `in`, 10 for some legacy clients).

N+1 queriesSQL

Performance: N+1 query problem (one query per row in a loop)

Code runs one query to load a list, then one more query per item — hundreds of queries per page.

pool timeoutSQL

Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. All pooled connections were in use and max pool size was reached.

The application’s connection pool was exhausted — all connections busy or leaked.

Sending build contextDocker

Docker build slow: "Sending build context to Docker daemon 2.5GB" / transferring context takes forever

docker build is uploading your whole project folder — node_modules, .git, data files — before building, because there’s no (or a…