You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled rejection MongoError: Unsupported OP_QUERY command: insert. The client driver may require an upgrade. For more details see https://dochub.mongodb.org/core/legacy-opcode-removal
at Function.MongoError.create (C:\00 My Files\NodeJs\Vidly-NodeJs-project\node_modules\mongodb-core\lib\error.js:31:11)
at C:\00 My Files\NodeJs\Vidly-NodeJs-project\node_modules\mongodb-core\lib\connection\pool.js:497:72
at authenticateStragglers (C:\00 My Files\NodeJs\Vidly-NodeJs-project\node_modules\mongodb-core\lib\connection\pool.js:443:16)
at Connection.messageHandler (C:\00 My Files\NodeJs\Vidly-NodeJs-project\node_modules\mongodb-core\lib\connection\pool.js:477:5)
at Socket.<anonymous> (C:\00 My Files\NodeJs\Vidly-NodeJs-project\node_modules\mongodb-core\lib\connection\connection.js:331:22)
at Socket.emit (node:events:390:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at TCP.onStreamRead (node:internal/stream_base_commons:199:23)
The text was updated successfully, but these errors were encountered:
Making a post request but keeps failing.
mongoose version: "^6.5.2"
fawn version: "^2.1.5"
my code snippet:
Error I am getting:
The text was updated successfully, but these errors were encountered: