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.
{
"%%true": {
"%function": {
"name": "stitchInsert",
"arguments": [
"%%root.age"
]
}
},
"read": true,
"write": true
}
It says internal server error-
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
.png?part=0.1&view=1)