-
-
Save merlox/77261651c4e144343b74973eb2d60546 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mongoose: activesequences.insertOne({ status: 'active', recipientsReplied: [], currentSequence: 1, triggers: [ 1 ], _id: ObjectId("5dbc4212c258b00f44978640"), name: 'merunas', owner: ObjectId("5d9f2e642cbd71300c861254"), emails: [ { links: [], _id: ObjectId("5dbc4212c258b00f44978642"), subject: 'dsfgsd', content: '<html><head></head><body><p>gsdfg</p></body></html>', attachments: [], templateId: '5db962025c3fe60a199c3a8a' }, { links: [], _id: ObjectId("5dbc4212c258b00f44978641"), subject: 'ppp', content: '<div><p>ppp</p>\n' + '<p><a href="https://staging.palawan.io/stats/link-click?token=19489000598093750&to=https://google.com/">https://google.com</a></p>\n' + '<p><a href="https://staging.palawan.io/stats/link-click?token=41436211247327544&to=https://google.com/">https://google.com</a></p></div>', attachments: [], templateId: '5db85b9c4c0d641233f74b34' } ], recipients: { to: [ 'pwpwpwpw@gmail.com' ], cc: [], bcc: [] }, sequenceId: '5dbc3e90c258b00f44978636', threadId: '16e276217a012a09', createdAt: new Date("Fri, 01 Nov 2019 14:32:50 GMT"), updatedAt: new Date("Fri, 01 Nov 2019 14:32:50 GMT"), nextEmailSendDate: new Date("Sat, 02 Nov 2019 14:32:50 GMT"), __v: 0}, { session: null }) | |
MongoError: E11000 duplicate key error collection: palawan.activesequences index: recipient_1_sequenceId_1 dup key: { recipient: null, sequenceId: "5dbc3e90c258b00f44978636" } | |
at Function.create (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/error.js:44:12) | |
at toError (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/utils.js:150:22) | |
at /Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/operations/common_functions.js:266:39 | |
at handler (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/sdam/topology.js:1000:24) | |
at /Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/sdam/server.js:457:5 | |
at /Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/connection/pool.js:408:18 | |
at processTicksAndRejections (internal/process/task_queues.js:75:11) | |
From previous event: | |
at Object.promiseOrCallback (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongoose/lib/utils.js:270:10) | |
at model.Model.save (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongoose/lib/model.js:453:16) | |
at Object.exports.activateSequences (/Users/merunas/Desktop/upwork/palawan-backend/src/api/services/sequences.js:11:25) | |
at exports.send (/Users/merunas/Desktop/upwork/palawan-backend/src/api/controllers/sequence.controller.js:119:42) { | |
driver: true, | |
name: 'MongoError', | |
index: 0, | |
code: 11000, | |
keyPattern: { recipient: 1, sequenceId: 1 }, | |
keyValue: { recipient: null, sequenceId: '5dbc3e90c258b00f44978636' }, | |
errmsg: 'E11000 duplicate key error collection: palawan.activesequences index: recipient_1_sequenceId_1 dup key: { recipient: null, sequenceId: "5dbc3e90c258b00f44978636" }', | |
[Symbol(mongoErrorContextSymbol)]: {} | |
} | |
{"code":500,"message":"E11000 duplicate key error collection: palawan.activesequences index: recipient_1_sequenceId_1 dup key: { recipient: null, sequenceId: \"5dbc3e90c258b00f44978636\" }","stack":"MongoError: E11000 duplicate key error collection: palawan.activesequences index: recipient_1_sequenceId_1 dup key: { recipient: null, sequenceId: \"5dbc3e90c258b00f44978636\" }\n at Function.create (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/error.js:44:12)\n at toError (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/utils.js:150:22)\n at /Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/operations/common_functions.js:266:39\n at handler (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/sdam/topology.js:1000:24)\n at /Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/sdam/server.js:457:5\n at /Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/connection/pool.js:408:18\n at processTicksAndRejections (internal/process/task_queues.js:75:11)\nFrom previous event:\n at Object.promiseOrCallback (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongoose/lib/utils.js:270:10)\n at model.Model.save (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongoose/lib/model.js:453:16)\n at Object.exports.activateSequences (/Users/merunas/Desktop/upwork/palawan-backend/src/api/services/sequences.js:11:25)\n at exports.send (/Users/merunas/Desktop/upwork/palawan-backend/src/api/controllers/sequence.controller.js:119:42)","level":"error"} | |
error: E11000 duplicate key error collection: palawan.activesequences index: recipient_1_sequenceId_1 dup key: { recipient: null, sequenceId: "5dbc3e90c258b00f44978636" } {"code":500,"stack":"MongoError: E11000 duplicate key error collection: palawan.activesequences index: recipient_1_sequenceId_1 dup key: { recipient: null, sequenceId: \"5dbc3e90c258b00f44978636\" }\n at Function.create (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/error.js:44:12)\n at toError (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/utils.js:150:22)\n at /Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/operations/common_functions.js:266:39\n at handler (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/sdam/topology.js:1000:24)\n at /Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/sdam/server.js:457:5\n at /Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongodb/lib/core/connection/pool.js:408:18\n at processTicksAndRejections (internal/process/task_queues.js:75:11)\nFrom previous event:\n at Object.promiseOrCallback (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongoose/lib/utils.js:270:10)\n at model.Model.save (/Users/merunas/Desktop/upwork/palawan-backend/node_modules/mongoose/lib/model.js:453:16)\n at Object.exports.activateSequences (/Users/merunas/Desktop/upwork/palawan-backend/src/api/services/sequences.js:11:25)\n at exports.send (/Users/merunas/Desktop/upwork/palawan-backend/src/api/controllers/sequence.controller.js:119:42)"} | |
POST /v1/users/5d9f2e642cbd71300c861254/sequences/5dbc3e90c258b00f44978636/send 500 624.564 ms - - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment