Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Error when send a messge #171

Open
sostenesapollo opened this issue Mar 30, 2023 · 1 comment
Open

Error when send a messge #171

sostenesapollo opened this issue Mar 30, 2023 · 1 comment

Comments

@sostenesapollo
Copy link

"level":50,"time":1680156516763,"pid":23490,"hostname":"sostenes.local","err":{"type":"PrismaClientKnownRequestError","message":"\nInvalid model.create() invocation in\n/Users/sostenesapollo/dev/apollotecx/stockyzeit/whatsapp-api/node_modules/@ookamiiixd/baileys-store/dist/handlers/message.js:79:27\n\n 76 },\n 77 },\n 78 }),\n→ 79 model.create(\nUnique constraint failed on the constraint: PRIMARY","stack":"Error: \nInvalid model.create() invocation in\n/Users/sostenesapollo/dev/apollotecx/stockyzeit/whatsapp-api/node_modules/@ookamiiixd/baileys-store/dist/handlers/message.js:79:27\n\n 76 },\n 77 },\n 78 }),\n→ 79 model.create(\nUnique constraint failed on the constraint: PRIMARY\n at fn.handleRequestError (/Users/sostenesapollo/dev/apollotecx/stockyzeit/whatsapp-api/node_modules/@prisma/client/runtime/library.js:174:6477)\n at fn.handleAndLogRequestError (/Users/sostenesapollo/dev/apollotecx/stockyzeit/whatsapp-api/node_modules/@prisma/client/runtime/library.js:174:5907)\n at fn.request (/Users/sostenesapollo/dev/apollotecx/stockyzeit/whatsapp-api/node_modules/@prisma/client/runtime/library.js:174:5786)\n at async t._request (/Users/sostenesapollo/dev/apollotecx/stockyzeit/whatsapp-api/node_modules/@prisma/client/runtime/library.js:177:10477)\n at async Promise.all (index 1)\n at async EventEmitter.update (/Users/sostenesapollo/dev/apollotecx/stockyzeit/whatsapp-api/node_modules/@ookamiiixd/baileys-store/dist/handlers/message.js:68:17)","code":"P2002","clientVersion":"4.12.0","meta":{"target":"PRIMARY"}},"msg":"An error occured during message update"}

@MicroprocessDev
Copy link

I'm getting the same message.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants