• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Firebase web app with esp32. Part 3. no data accepted by the rtdb

Q&A Forum › Category: ESP32 › Firebase web app with esp32. Part 3. no data accepted by the rtdb
0 Vote Up Vote Down
Dirk JESPERS asked 1 year ago

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

3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
Can you tell me exactly which code are you using?
Have you successfully tried other Firebase sketches before? Did they work?
Regards,
Sara

0 Vote Up Vote Down
Dirk JESPERS answered 1 year ago

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

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

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

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.