简体   繁体   English

MongoDB 缝合错误:插入项目,命名空间不存在规则

[英]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 .将 MongoDB Stitch 与我的 iOS 应用程序一起使用,经过身份验证的用户无法写入数据库 - 日志(和控制台)中的错误读取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.您必须配置 MongoDB Realm/Stitch 才能访问该集合。 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.只需确保 (databasename) 或 (collectionname) 是否与您在脚本中使用的匹配。 Or just try deleting the collection from there and create a new one.或者只是尝试从那里删除集合并创建一个新集合。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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