Skip to content
Advertisement

FirebaseError: Missing or insufficient permissions. with getDocs()

I tried reading the first couple of answers but none seem to have the same rule with the one I currently have my hands on.

When I try to call the getDocs() function (using react)

JavaScript

I seem to be getting the error FirebaseError: Missing or insufficient permissions. what can I do to not get this error? Below is the rule that I have

JavaScript

Advertisement

Answer

You can change to:

JavaScript
Advertisement