irebase/database: FIREBASE WARNING: set at /notes/-MOr-bzAqtcotnKcDAQ1 failed: permission_denied code example
Example: Uncaught (in promise) Error: PERMISSION_DENIED: Permission denied at Repo.ts:632
firebase.auth().signInAnonymously().catch(function(error) {
// Handle Errors here.
var errorCode = error.code;
var errorMessage = error.message;
// ...
});