Unhandled Runtime Error
ClientError: Cannot read property 'shift' of undefined
{
"message": "Cannot read property 'shift' of undefined",
"locations": [
{
"line": 1,
"column": 1093
}
],
"path": [
"postgres"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"exception": {
"stacktrace": [
"TypeError: Cannot read property 'shift' of undefined",
" at convertRunSQLTuplesToArrayOfObjects (D:\Devops\data-dictionary\react-app\.next\server\pages\api\graphql.js:1121:26)",
" at runSQL (D:\Devops\data-dictionary\react-app\.next\server\pages\api\graphql.js:1097:10)",
" at runMicrotasks ()",
" at processTicksAndRejections (internal/process/task_queues.js:97:5)",
" at async postgres (D:\Devops\data-dictionary\react-app\.next\server\pages\api\graphql.js:1236:18)"
]
}
}
}
Call Stack
node_modules@genql\runtime\esm\fetcher.js (57:0)
step
/_next/static/chunks/pages/_app.js (85584:23)
Object.next
node_modules\tslib\tslib.es6.js (81:44)
fulfilled
/_next/static/chunks/pages/_app.js (85555:58)
