SyntaxError: Unexpected token ILLEGAL. Please help me insert syntax SyntaxError: Unexpected token ILLEGAL. Please help me insert syntax mongodb mongodb

SyntaxError: Unexpected token ILLEGAL. Please help me insert syntax


You're using curly quotes. Only plain quotes work:

db.tasks.insert({id : "0", title : "task01", description : "description", status : "1", assignorId : "7", assigneeId : "8", createdDate : "", startedDate : "", targetDate : "", completeDate : "", closedDate : ""})