Angular Firebase Error: permission_denied at /Aufgaben: Client doesn't have permission to access the desired data.
Im Chrome Browser in der Console
ERROR Error: permission_denied at /Aufgaben: Client doesn't have permission to access the desired data.
Angular is running in development mode. Call enableProdMode() to enable production mode. core.js:5967 ERROR Error: permission_denied at /Aufgaben: Client doesn't have permission to access the desired data. at errorForServerCode (index.cjs.js:658) at onComplete (index.cjs.js:9067) at Object.onComplete (index.cjs.js:12559) at index.cjs.js:11691 at PersistentConnection.push.NSPt.PersistentConnection.onDataMessage_ (index.cjs.js:11931) at Connection.push.NSPt.Connection.onDataMessage_ (index.cjs.js:11248) at Connection.push.NSPt.Connection.onPrimaryMessageReceived_ (index.cjs.js:11242) at WebSocketConnection.onMessage (index.cjs.js:11143) at WebSocketConnection.push.NSPt.WebSocketConnection.appendFrame_ (index.cjs.js:10729) at WebSocketConnection.push.NSPt.WebSocketConnection.handleIncomingFrame (index.cjs.js:10780) |
Lösung:
In Google Firebase unter Realtime Database -> Regeln
Die Read Einstellungen der Firebase Rules müssen auf
.read : true eingestellt werden