Provide better docs or a better tooling on how you can print when an internal error occurs
Description
Sometimes you get errors like this:
[firebase_auth/internal-error] An internal error has occurred, print and inspect the error details for more information.
It would be helpful that the FlutterFire packages provide a more help on how to print the these details. Because the only I'm seeing is this error message. Like a link to the docs or a short explanation would be nice.
@nilsreichardt Did you end up finding how to print any more details? I'm stuck in debugging an issue because I don't know where to look because of this.
My issue was that the Firebase API had too strong restrictions
@nilsreichardt Could you elaborate? How did you find this? My iOS application is failing to send a password reset email, other platforms work just fine.
I found this because it was the only logical place it could fail like this. Then I checked it restrictions in Google Cloud and it was true.
Hey @nilsreichardt - do you know what caused the error? If I can reproduce, there might be an underlying exception that we can parse and forward.
@nilsreichardt If restrictions are the main cause of recreating this error, then one thing we can do to make the error more sensible for developers is instead of
[firebase_auth/internal-error] An internal error has occurred, print and inspect the error details for more information.
we can give an error message something like
[firebase_auth/internal-error] An internal error has occurred. Current settings or permissions may restrict this action. Please check your settings and permissions in the Google Cloud console. For more details, <-URL of more explanation->.
This can be a temporary solution for developers confused by this message and checking their code. An ideal error message would specify which setting is restricting the code.
can we just do that for now?