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
error: insert or update on table "Notification" violates foreign key constraint "fk_userId"
at /home/node/parabol/dist/node_modules/pg/lib/index.js:2749:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PostgresConnection.executeQuery (/home/node/parabol/dist/gqlExecutor.js:1440351:28)
at async /home/node/parabol/dist/gqlExecutor.js:1454834:28
at async DefaultConnectionProvider.provideConnection (/home/node/parabol/dist/gqlExecutor.js:1440904:20)
at async DefaultQueryExecutor.executeQuery (/home/node/parabol/dist/gqlExecutor.js:1454833:16)
at async InsertQueryBuilder.execute (/home/node/parabol/dist/gqlExecutor.js:1450836:24)
at async createTeamPromptMentionNotifications (/home/node/parabol/dist/gqlExecutor.js:128314:3)
at async upsertTeamPromptResponse (/home/node/parabol/dist/gqlExecutor.js:132918:25)
at async Object.upsertTeamPromptResponse (/home/node/parabol/dist/gqlExecutor.js:102418:14)
at PostgresConnection.executeQuery (/home/node/parabol/dist/gqlExecutor.js:1440371:69)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /home/node/parabol/dist/gqlExecutor.js:1454834:28
at async DefaultConnectionProvider.provideConnection (/home/node/parabol/dist/gqlExecutor.js:1440904:20)
at async DefaultQueryExecutor.executeQuery (/home/node/parabol/dist/gqlExecutor.js:1454833:16)
at async InsertQueryBuilder.execute (/home/node/parabol/dist/gqlExecutor.js:1450836:24)
at async createTeamPromptMentionNotifications (/home/node/parabol/dist/gqlExecutor.js:128314:3)
at async upsertTeamPromptResponse (/home/node/parabol/dist/gqlExecutor.js:132918:25)
at async Object.upsertTeamPromptResponse (/home/node/parabol/dist/gqlExecutor.js:102418:14)
at async Object.MutationupsertTeamPromptResponseResolver (/home/node/parabol/dist/gqlExecutor.js:144354:22) {
locations: [ [Object] ],
path: [ 'upsertTeamPromptResponse' ]
}
this happens for meetings that were created during about a 24-hour window when at-mentions in tiptap stored the teammemberId instead of the userId. I'll have to dig into who is causing this error. if it's just 1 team that keeps re-using the same meeting, i'm inclined to just let it be.
Issue - Bug
node --version
npm --version
Pattern and example
Acceptance Criteria (optional)
Users can:
Triage is performed to find the root cause of the bug, timeboxed to ~1 hour.
Estimated effort: 1 hour to triage. More if root cause is already identified.
The text was updated successfully, but these errors were encountered: