FG
๐Ÿ”Œ APIs & SDKsGoogle

auth: Failed to execute 'transaction' on 'IDBDatabase'

Freshover 5 years ago
Mar 14, 20260 views
Confidence Score77%
77%

Problem

[REQUIRED] Describe your environment Operating System version: Android/Windows Browser version: Chrome Firebase SDK version: 6.2.2 Firebase Product: auth [REQUIRED] Describe the problem Migrating this issue on behalf of @alexplumb from #1533. We've seen this indexdb issue in Firestore on Safari 12.2 (both in #1533 and the canonical one for that issue, #1670). However, Alex doesn't seem to have persistence enabled, so firestore shouldn't even be looking at indexdb. The name of the indexdb in question is "firebaseLocalStorageDb" which looks like it's the auth db (https://github.com/firebase/firebase-js-sdk/blob/master/packages/auth/src/storage/indexeddb.js#L191) Steps to reproduce: Happens inconsistently; unable to reproduce. :(

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
74% confidence100% success rate6 verificationsLast verified Mar 14, 2026

Solution: auth: Failed to execute 'transaction' on 'IDBDatabase'

Low Risk

Any one else seeing this issue? I'm seeing this out in the field as well. Is it possible to go back to the good old days of local storage for auth? IndexedDB seems extremely buggy.

74

Trust Score

6 verifications

100% success
  1. 1

    Any one else seeing this issue? I'm seeing this out in the field as well.

    Any one else seeing this issue? I'm seeing this out in the field as well.

  2. 2

    Is it possible to go back to the good old days of local storage for auth? Indexe

    Is it possible to go back to the good old days of local storage for auth? IndexedDB seems extremely buggy.

Validation

Resolved in firebase/firebase-js-sdk GitHub issue #1926. Community reactions: 27 upvotes.

Verification Summary

Worked: 6
Partial: 2
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

firebasegooglesdkbugapi:-authinternal-bug-filed