ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification #1284
Open
1 task done
Labels
bug
Something isn't working
Welcome!
What did you do?
Evolution API] v2.2.3 162 - Wed Mar 05 2025 00:12:58 ERROR [unhandledRejection] [object]
PrismaClientKnownRequestError:
Invalid
prisma.$executeRawUnsafe()
invocation:Raw query failed. Code:
42P10
. Message:ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
at Bn.handleRequestError (/evolution/node_modules/@prisma/client/runtime/library.js:121:7362)
at Bn.handleAndLogRequestError (/evolution/node_modules/@prisma/client/runtime/library.js:121:6686)
at Bn.request (/evolution/node_modules/@prisma/client/runtime/library.js:121:6393)
at async l (/evolution/node_modules/@prisma/client/runtime/library.js:130:9645)
at async Rs.addLabel (/evolution/dist/main.js:253:3945)
at async labels.association (/evolution/dist/main.js:230:31695) {
code: 'P2010',
clientVersion: '6.3.0',
meta: {
code: '42P10',
message: 'ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification'
}
}
recv 781 chats, 781 contacts, 1000 msgs (is latest: true, progress: 100%), type: 0
[Evolution API] [pedroromeiro] v2.2.3 162 - Wed Mar 05 2025 00:13:00 INFO [ChannelStartupService] [string] labels association - [email protected] (add-label_jid): 6
[Evolution API] v2.2.3 162 - Wed Mar 05 2025 00:13:00 ERROR [unhandledRejection] [object]
{
origin: Promise {
PrismaClientKnownRequestError:
Invalid
prisma.$executeRawUnsafe()
invocation:},
stderr: 2
}
[Evolution API] v2.2.3 162 - Wed Mar 05 2025 00:13:00 ERROR [unhandledRejection] [object]
PrismaClientKnownRequestError:
Invalid
prisma.$executeRawUnsafe()
invocation:Raw query failed. Code:
42P10
. Message:ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification
at Bn.handleRequestError (/evolution/node_modules/@prisma/client/runtime/library.js:121:7362)
at Bn.handleAndLogRequestError (/evolution/node_modules/@prisma/client/runtime/library.js:121:6686)
at Bn.request (/evolution/node_modules/@prisma/client/runtime/library.js:121:6393)
at async l (/evolution/node_modules/@prisma/client/runtime/library.js:130:9645)
at async Rs.addLabel (/evolution/dist/main.js:253:3945)
at async labels.association (/evolution/dist/main.js:230:31695) {
code: 'P2010',
clientVersion: '6.3.0',
meta: {
code: '42P10',
message: 'ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification'
}
}
What did you expect?
Access the created instances
What did you observe instead of what you expected?
I can't access my instances
Screenshots/Videos
No response
Which version of the API are you using?
Latest
What is your environment?
Docker
Other environment specifications
No response
If applicable, paste the log output
No response
Additional Notes
No response
The text was updated successfully, but these errors were encountered: