S
S
s2d1ent2021-03-12 22:54:31
JavaScript
s2d1ent, 2021-03-12 22:54:31

How to solve the problem in firestore?

Hello everyone, I get the following error in the console:
firebase-firestore.js:1 Uncaught (in promise) FirebaseError: Missing or insufficient permissions.
It appeared after the line:
db.collection("users").get().then(snapshot=>{
console.log(snapshot.docs);
});
What according to the Hindu from YouTube, according to the documentation, this error pops up. Don't know how to solve it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question