Firebase ESP32 Client: Getting INVALID_EMAIL Error on ESP32 PlatformIO #679
Replies: 1 comment 2 replies
-
This library is deprecated and no more support. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Error code found in serial monitor
I'm working on an ESP32 project that uses an RFID reader to log attendance data to Firebase Realtime Database, in PlatformIO. I'm using the Firebase ESP Client library by Mobizt.
I keep encountering the following error messages in the Serial Monitor:
Token Info: type = ID token, status = error Token Error: INVALID_EMAIL Token Info: type = ID token, status = error Token Error: bad request
Here's my code:
Fixes Attempted
Verified that Anonymous Authentication is enabled in Firebase Console under Authentication > Sign-in method.
Double-checked my API key and database URL to ensure they are correct.
Ensured that auth.user.email and auth.user.password are not set anywhere in my code.
Updated the Firebase ESP Client library to the latest version
Waited for authentication to complete before interacting with Firebase, using a loop to check Firebase.ready().
Erased the ESP32 flash memory to clear any old credentials.
Despite these efforts, the INVALID_EMAIL error persists.
Beta Was this translation helpful? Give feedback.
All reactions