Reputation: 326
Using MongoDB Stitch with my iOS App, an authenticated user can't write to the database – the error in the log (and the console) reads as no rule exists for namespace
.
Find screenshots of my configuration and the log attached – any help is much appreciated!
Upvotes: 2
Views: 1502
Reputation: 567
You have to configure MongoDB Realm/Stitch for access the collection. Make sure your changes are saved/deployed.
Upvotes: 1
Reputation: 11
I tried setting up stitch once and got into the same problem. Just make sure if the (databasename) or (collectionname) is matching with what you are using in your script. Or just try deleting the collection from there and create a new one.
Upvotes: 1