简体   繁体   中英

MongoDB Stitch error: Inserting item, no rule exists for namespace

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!

在此处输入图像描述

在此处输入图像描述

You have to configure MongoDB Realm/Stitch for access the collection. Make sure your changes are saved/deployed.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM