PicImpact
PicImpact copied to clipboard
作者大大你好,现在有个问题就是在控制台-首选项设置 无法正常保存
控制台-首选项设置 无法正常保存,只要点提交的时候就提示 不管修没修改,都会提示修改失败
这是报错信息
Error updating custom info: Error [PrismaClientKnownRequestError]:
Invalid `prisma.configs.update()` invocation:
Transaction API error: Transaction not found. Transaction ID is invalid, refers to an old closed transaction Prisma doesn't have information about anymore, or was obtained before disconnecting.
at async (.next/server/app/api/[[...route]]/route.js:41:1682)
at async i (.next/server/app/api/[[...route]]/route.js:41:310)
at async Object.handler (.next/server/app/api/[[...route]]/route.js:41:28648)
at async g (.next/server/app/api/[[...route]]/route.js:41:6818)
at async Array.d (.next/server/app/api/[[...route]]/route.js:41:15254) {
code: 'P2028',
clientVersion: '6.4.1',
meta: [Object]
}
Error: Failed
at Object.handler (.next/server/app/api/[[...route]]/route.js:41:28719)
at async g (.next/server/app/api/[[...route]]/route.js:41:6818)
at async Array.d (.next/server/app/api/[[...route]]/route.js:41:15254)
at async p (.next/server/app/api/[[...route]]/route.js:50:23699)
at async f (.next/server/app/api/[[...route]]/route.js:50:24703)
at async cq (.next/server/app/api/[[...route]]/route.js:50:25826) {
res: undefined,
status: 500,
[cause]: Error [PrismaClientKnownRequestError]:
Invalid `prisma.configs.update()` invocation:
Transaction API error: Transaction not found. Transaction ID is invalid, refers to an old closed transaction Prisma doesn't have information about anymore, or was obtained before disconnecting.
at async (.next/server/app/api/[[...route]]/route.js:41:1682)
at async i (.next/server/app/api/[[...route]]/route.js:41:310)
at async Object.handler (.next/server/app/api/[[...route]]/route.js:41:28648)
at async g (.next/server/app/api/[[...route]]/route.js:41:6818)
at async Array.d (.next/server/app/api/[[...route]]/route.js:41:15254) {
code: 'P2028',
clientVersion: '6.4.1',
meta: {
modelName: 'Configs',
error: "Transaction not found. Transaction ID is invalid, refers to an old closed transaction Prisma doesn't have information about anymore, or was obtained before disconnecting."
}
}
}
这边会抽空排查,但可能不是代码问题。
这边会抽空排查,但可能不是代码问题。
好呢