Repository navigation
[馃摎]Holistically document all throwed exception codes.聽#6326
Description
Activity
- addedgood first issueGood for newcomersGood for newcomerstype: documentationImprovements or additions to documentationImprovements or additions to documentation
on Jun 6, 2021 - addedtriageIssue is currently being triaged.Issue is currently being triaged.and removedtriageIssue is currently being triaged.Issue is currently being triaged.
on Jun 9, 2021 I agree that a list is neccesary. But not only for auth and functions, but for all plugins which may throw exceptions with errorcodes.
Reacted by Tommy, sjoerd0301 and Omar Jennane@Tom3652, as mentioned in issue:
...firebase_auth.dart has scant lists before methods...
Also,firebase_auth.dartgenerates some codes, which haven't been described in docs. Likeunknown,network-request-failed. Thus, be careful.Reacted by TommyAh !
You are right thanks, feel stupid i have not read well enough..
Hopefully this will be available soon and kept up-to-date, because making conditional statements withstringsthat can change can be dangerous.Hi, any updated on this? Is there a list somewhere where I can find the list of error codes? That would be awesome, thanks in advance.
I've been struggling to find them and I only find documentation related to other languages libraries.
@julio-lagos-imatia Not sure if this is still useful but I usually parse through these error codes: https://firebase.google.com/docs/auth/admin/errors
- addedplatform: allIssues / PRs which are for all platforms.Issues / PRs which are for all platforms.
on Mar 19, 2024 Three years on and still no published list of errorCodes. Horrendous.
Hi, can someone please response and resolve this query.
Hi, we are working on providing a full list in the documentation. Thanks for bearing with us.

Use case
I use
FirebaseFunctionsandFirebaseAuth. I want to catchFirebaseExceptionand showAlertDialogwith special localized alert message, depending on whatcodeis provided.Problem
I can't find complete exception code list. firebase_auth.dart has scant lists before methods, but firebase_functions.dart hasn't them at all. FlutterFire Docs mentions about only few individual codes. Firebase has something looks like i want, but for Admin SDK (https://firebase.google.com/docs/auth/admin/errors). Is there the a similar list for FlutterFire?
Proposal
Holistically document all throwed exception codes.