• 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 Permission denied error

Q&A Forum › Category: ESP8266 › Firebase Permission denied error
0 Vote Up Vote Down
Prakash asked 2 weeks ago

Dear Sir/Madam,

I was trying to make bare minimum Firebase data send and stream with Nodemcu following your booklet.
I get permission denied while sending temperature and Humidity data to firebase. I get the correct UID on the Serial port.

I have created the correct nodes below is my JSON file.

{
“PrakashData” : {
“My_UID” : {
“outputs” : {
“digital” : {
“2” : 0,
“12” : 1
},
“message” : “I love this app”,
“pwm” : {
“13” : 20,
“14” : 80
}
},
“sensor” : {
“humidity” : 52.50,
“temperature” : 25.00
}
}
}
}
Code at Pastebin
Firebase_NodeMCU – Pastebin.com

 

Tried Once again:

same issue

https://pastebin.com/NcL2KZqT

Question Tags: esp8266 NodeMCU Firebase
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 weeks ago

Hi.
What are your database rules?
Are you using the right database URL in your project?
Sometimes people create several projects on Firebase, and then, end up using the wrong URL or API key.
What is the exact error that you get?
REgards,
Sara

0 Vote Up Vote Down
Prakash answered 2 weeks ago

Dear Madam,
Yes. You correctly pointed out the issue.
There was on letter “s” in “Usersdata” was missing in my JSON.
Thank you. It has resolved!

0 Vote Up Vote Down
Sara Santos Staff answered 2 weeks ago

Great!
I’m glad the issue is solved.
I’ll mark this issue as resolved. If you need further help, you just need to open a new question in our forum.
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

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.