Error: PANIC: internal error: entered unreachable code on running a create operation from the client:
2020-03-05T16:56:56.120Z prisma-client Requests:
2020-03-05T16:56:56.121Z prisma-client [
'mutation {\n' +
' createOneahoy_events(data: {\n' +
' created_at: "2024-06-26T14:40:10.450Z"\n' +
' id: "ba000471-eabd-55d2-8b42-8ac91ec57e13"\n' +
' name: "sab"\n' +
' properties: "ziwiwwuh"\n' +
' time: "2077-02-06T12:02:57.325Z"\n' +
' type: "zeenejom"\n' +
' updated_at: "2034-04-09T19:09:04.015Z"\n' +
' user_id: 2091163462\n' +
' visit_id: "mahbu"\n' +
' }) {\n' +
' created_at\n' +
' id\n' +
' name\n' +
' properties\n' +
' time\n' +
' type\n' +
' updated_at\n' +
' user_id\n' +
' visit_id\n' +
' }\n' +
'}'
]
2020-03-05T16:56:56.680Z engine stdout {
timestamp: 'Mar 05 16:56:56.679',
level: 'ERROR',
target: 'prisma',
fields: {
message: 'PANIC',
reason: 'internal error: entered unreachable code',
file: 'query-engine/core/src/response_ir/mod.rs',
line: 281,
column: 38
}
}
2020-03-05T16:56:56.682Z engine {
error: Error: socket hang up
at connResetException (internal/errors.js:604:14)
at Socket.socketOnEnd (_http_client.js:460:23)
at Socket.emit (events.js:323:22)
at Socket.EventEmitter.emit (domain.js:482:12)
at endReadableNT (_stream_readable.js:1204:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
code: 'ECONNRESET'
}
}
2020-03-05T16:56:56.684Z prisma-client Error: PANIC: internal error: entered unreachable code
at /home/runner/work/introspection-engine-output/introspection-engine-output/clients/mysql_public_test_utils/allsquare/runtime/index.js:1:17381
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at Dataloader.loader (/home/runner/work/introspection-engine-output/introspection-engine-output/clients/mysql_public_test_utils/allsquare/index.js:56:23)
2020-03-05T16:56:56.684Z printStack callsite Error
at new ahoy_eventsClient (/home/runner/work/introspection-engine-output/introspection-engine-output/clients/mysql_public_test_utils/allsquare/index.js:2856:21)
at Object.ahoy_events.create (/home/runner/work/introspection-engine-output/introspection-engine-output/clients/mysql_public_test_utils/allsquare/index.js:2738:7)
at /home/runner/work/introspection-engine-output/prisma-test-utils/src/static/seed.ts:973:45
at Generator.next (<anonymous>)
at /home/runner/work/introspection-engine-output/prisma-test-utils/dist/static/seed.js:8:71
at new Promise (<anonymous>)
at __awaiter (/home/runner/work/introspection-engine-output/prisma-test-utils/dist/static/seed.js:4:12)
at iterate (/home/runner/work/introspection-engine-output/prisma-test-utils/dist/static/seed.js:635:24)
at /home/runner/work/introspection-engine-output/prisma-test-utils/src/static/seed.ts:998:30
at Generator.next (<anonymous>)
PrismaClientUnknownRequestError:
Invalid `prisma.ahoy_events.create()` invocation in
/home/runner/work/introspection-engine-output/introspection-engine-output/clients/mysql_public_test_utils/allsquare/index.js:2738:7
PANIC: internal error: entered unreachable code
at PrismaClientFetcher.request (/home/runner/work/introspection-engine-output/introspection-engine-output/clients/mysql_public_test_utils/allsquare/index.js:90:17)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
This is the code being executed there:
async function main() {
const data = await prisma.ahoy_events.create({
data: {
created_at: '2024-06-26T14:40:10.450Z',
// id: 'ba000471-eabd-55d2-8b42-8ac91ec57e13', // ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Server(ServerError { code: 1406, message: "Data too long for column \'id\' at row 1", state: "22001" })) })
id: 'ba000471',
name: 'sab',
properties: 'ziwiwwuh',
time: '2077-02-06T12:02:57.325Z',
type: 'zeenejom',
updated_at: '2034-04-09T19:09:04.015Z',
user_id: 2091163462,
visit_id: 'mahbu',
},
})
console.log({ data })
}
All information like schema, datamodel, code etc see this reproduction repo: https://github.com/divyendu-test/p2-1772
Most likely coming from here: https://github.com/prisma/prisma-engines/blob/master/query-engine/core/src/response_ir/mod.rs#L281
Error:
PANIC: internal error: entered unreachable codeon running a create operation from the client:This is the code being executed there:
All information like schema, datamodel, code etc see this reproduction repo: https://github.com/divyendu-test/p2-1772
Most likely coming from here: https://github.com/prisma/prisma-engines/blob/master/query-engine/core/src/response_ir/mod.rs#L281