Access The Firebase Realtime Database is controlled by server-side security rules The error message you're getting matches the security rules that you shared. Those rules say that no ordinary user can read or write any data from or to the database.
The simplest change that you can make to allow the operation you shared is to allow anyone to write a node under /meetups
. The rules for that would be:
{
"rules": {
read: false,
"meetups": {
"$meetupId": {
".write": true
}
}
}
}
With these rules, anyone can write a new node under /meetups
. But nobody can read any data, nor can anyone write anywhere else (including writing to /meetups
itself).
The exact rules you need depend purely on the app that you're building. I recommend: