-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimport-error.log
More file actions
138 lines (136 loc) · 5.33 KB
/
Copy pathimport-error.log
File metadata and controls
138 lines (136 loc) · 5.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
Starting Catalog Import...
Found 28228 items in backup.
Importing items...
node.exe : Import
failed: PrismaClientKno
wnRequestError:
At line:1 char:1
+ & "C:\Program
Files\nodejs/node.exe"
"C:\Program
Files\nodejs/node_mo
...
+ ~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~~
+ CategoryInfo
: NotSpecifi
ed: (Import failed
: ...nRequestError
: :String) [], Rem
oteException
+ FullyQualifiedEr
rorId : NativeComm
andError
Invalid `tx.catalogItem
.update()` invocation
in
D:\Work\1. Projects\3.
My Projects\Chadwick\Qu
otes\My Workings\Web Ap
p\scripts\import-catalo
g.ts:50:42
47 where: {
partNumber:
rest.partNumber }
48 });
49 if (existing) {
→ 50 await
tx.catalogItem.update(
Transaction API error:
Transaction already
closed: A query cannot
be executed on an
expired transaction.
The timeout for this
transaction was 5000
ms, however 5000 ms
passed since the start
of the transaction.
Consider increasing
the interactive
transaction timeout or
doing less work in the
transaction.
at
$n.handleRequestError
(D:\Work\1.
Projects\3. My Projects
\Chadwick\Quotes\My
Workings\Web App\node_m
odules\@prisma\client\r
untime\library.js:121:7
315)
at $n.handleAndLogR
equestError
(D:\Work\1.
Projects\3. My Projects
\Chadwick\Quotes\My
Workings\Web App\node_m
odules\@prisma\client\r
untime\library.js:121:6
623)
at $n.request
(D:\Work\1.
Projects\3. My Projects
\Chadwick\Quotes\My
Workings\Web App\node_m
odules\@prisma\client\r
untime\library.js:121:6
307)
at async l
(D:\Work\1.
Projects\3. My Projects
\Chadwick\Quotes\My
Workings\Web App\node_m
odules\@prisma\client\r
untime\library.js:130:9
633)
at async
<anonymous>
(D:\Work\1.
Projects\3. My Projects
\Chadwick\Quotes\My
Workings\Web App\script
s\import-catalog.ts:50:
21)
at async Proxy._tra
nsactionWithCallback
(D:\Work\1.
Projects\3. My Projects
\Chadwick\Quotes\My
Workings\Web App\node_m
odules\@prisma\client\r
untime\library.js:130:8
000)
at async main
(D:\Work\1.
Projects\3. My Projects
\Chadwick\Quotes\My
Workings\Web App\script
s\import-catalog.ts:32:
9) {
code: 'P2028',
clientVersion:
'5.22.0',
meta: {
modelName:
'CatalogItem',
error:
'Transaction already
closed: A query cannot
be executed on an
expired transaction.
The timeout for this
transaction was 5000
ms, however 5000 ms
passed since the start
of the transaction.
Consider increasing
the interactive
transaction timeout or
doing less work in the
transaction.'
}
}