-
-
Notifications
You must be signed in to change notification settings - Fork 605
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Foreign key constraint failed on the field: `ticketId`
01/07/23 22:22:06 [WARN] Failed to archive message 1124827295849394327
01/07/23 22:22:06 [ERROR] PrismaClientKnownRequestError:
Invalid `prisma.archivedUser.upsert()` invocation:
Foreign key constraint failed on the field: `ticketId`
at Rn.handleRequestError (/home/container/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:174:7325)
at Rn.handleAndLogRequestError (/home/container/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:174:6754)
at Rn.request (/home/container/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:174:6344)
at async TicketArchiver.saveMessage (/home/container/src/lib/tickets/archiver.js:85:4)
at async module.exports.run (/home/container/src/listeners/client/messageCreate.js:192:7) {
code: 'P2003',
clientVersion: '4.16.1',
meta: { field_name: 'ticketId' }
}
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- OS:
- Node:
- NPM:
- Bot:
Anything else?
No response
KitsuneDev
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo