DEV Community

Discussion on: How to configure Firebase emulators with Next.js?

Collapse
 
ivanandresdiaz profile image
Ivan Andres Diaz

I am conecting the firestore. however, there was a problem when i am trying to do a get

unhandledRejection: [FirebaseError: Missing or insufficient permissions.] {
code: 'permission-denied',
customData: undefined,
toString: [Function (anonymous)]
}

I have already set up the security rules all True

rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if true;
}
}
}

did you have that problem ?
any sugestion or repo?

thanks