Always receiving : Token info: type = id token (GITKit token), status = on request
Token info: type = id token (GITKit token), status = ready
Getting User UID
User UID: is correct
FAILED
REASON: not found
FAILED
REASON: not found
FAILED
Timer is working.
Data from bme 280 comes in the different float variables.
Temppath is correct.
What can be the problem or the solution
Thank you
Hi.
Can you tell me exactly which code are you using?
Have you successfully tried other Firebase sketches before? Did they work?
Regards,
Sara
Hello Sara,
Thank you for your quick response.
In 2022 i already made a working project with the version 1.2 from your book, without any problems.
With version1.3 , windows 11 and another laptop, I can’t find a solution for this problem.
Hereby copy op screens :
1)The platform.ini
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
lib_deps = mobizt/Firebase Arduino Client Library for ESP8266 and ESP32 @ ^2.3.7
adafruit/Adafruit Unified Sensor @ ^1.1.4
adafruit/Adafruit BME280 Library @ ^2.1.2
The code used is the
https://github.com/RuiSantosdotme/Firebase-ESP32-ESP8266-eBook/archive/refs/heads/main.zipiin
(part Save data)
in vscode as well as in Arduino.ide.
Info in the monitor after reset of the esp32:
Token info: type = id token (GITKit token), status = on request
Token info: type = id token (GITKit token), status = ready
Getting User UID
User UID: NJwJ7DPhIxfiMIMsDfcNCxxxxxx
FAILED
REASON: not found
FAILED
REASON: not found
FAILED
REASON: not found
BME 280 values are captured in the variables. Checked with “Serial Print “ lines.
In the database there is a difference between my screen and the one in the manual :
“esp-iot-app-default-rtdb ” is mentioned.
In my screen the line before the UsersData is equal to the url .
Can it be a problem with the version off the Firebase library ?
Thank you.
Best regards
Hi.
It seems that the code is compiling normally, so I don’t think it’s an issue with the library version.
Make sure you use the correct database URL for your project, as well as the username, password, and path. Double-check that on the Firebase console.
Sometimes, what happens is that one creates multiple firebase projects and then, we get confused about the database URLs and the API keys for the right project.
Regards,
Sara