I'm using mongodb stitch for backend with
Users can read all data, but only write their own data
template. Logging in with email/password is working. However when I tried to insert data, I'm getting this error:
StitchServiceError {message: "insert not permitted", name: "StitchServiceError", errorCode: 12, errorCodeName: "ArgumentsNotAllowed", stack: "StitchServiceError: insert not permitted↵ at St…tp://localhost:3000/static/js/0.chunk.js:18077:14"}
message: "insert not permitted"
name: "StitchServiceError"
errorCode: 12
errorCodeName: "ArgumentsNotAllowed"}
What is causing this error?