Insert Error

Skip to first unread message

Pari Deshpande

Nov 6, 2019, 12:14:41 AM11/6/19
to MongoDB Stitch Users
Please help, I have my project deadline tomorrow and I need to make this work!
I have been trying to insert a single document using, insertOne() fuction.
This is my apply when code which we write while defining the role, for role 1.
  "_id": "",
  "%%true": {
    "%function": {
      "name": "stitchInsert",
      "arguments": [
  "read": true,
  "write": true

It says internal server error-
error executing match expression: invalid document: must either be a boolean expression or a literal document
Stack Trace:
StitchError: failed to check role role 1

Screenshot (745).png

Reply all
Reply to author
0 new messages