iamshaunjp / flutter-firebase

All course files for the Flutter & Firebase tutorial playlist on The Net Ninja YouTube channel
580 stars 441 forks source link

Flutter & Firebase App Tutorial #17 Write failed at brews/ : Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null} #26

Open FrappaF opened 3 years ago

FrappaF commented 3 years ago

When I register a new user this error shows up:

W/Firestore(22296): (22.1.1) [Firestore]: Write failed at brews/...: Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null}

My Firestore rules:

service cloud.firestore {
    match /databases/{database}/documents {
        match /{document=**} {
            allow read, update, write: if request.auth != null;
        }
    }
}

The brews collection doesn't get created. What am I doing wrong?

VishruthVS commented 11 months ago

same error