Error: Uncaught (in promise): Error: PERMISSION_DENIED: Permission denied

0

I'm doing an application with Ionic 3 and Firebase, where Crud is. My problem is that I'm trying to save the data, but when it comes to saving it, I have not got permission. What should I do?

  

ERROR Error: Uncaught (in promise): Error: PERMISSION_DENIED:   Permission denied Error: PERMISSION_DENIED: Permission denied       at Repo.js: 510       at Object.exports.exceptionGuard (util.js: 536)       at Repo.callOnCompleteCallback (Repo.js: 501)       at Repo.js: 278       at PersistentConnection.js: 402       at PersistentConnection.onDataMessage_ (PersistentConnection.js: 435)       at Connection.onDataMessage_ (Connection.js: 262)       at Connection.onPrimaryMessageReceived_ (Connection.js: 256)       at WebSocketConnection.onMessage (Connection.js: 157)       at WebSocketConnection.appendFrame_ (WebSocketConnection.js: 197)       at Repo.js: 510

    
asked by anonymous 06.04.2018 / 15:51

1 answer

2

As the Rosary said ... To give permissions in the realtime database security rules, in the Firebase console:

First, I joined:

https://console.firebase.google.com/

done this, enter the corresponding project.

Next, click on Database that is in the sidebar, then click on first steps, where you can make the change to true (permission). Finally, update the app and that's it.

    
09.04.2018 / 14:59