Open souravahmed1 opened 1 year ago
throw new PrismaClientKnownRequestError(message, error2.code, this.client._clientVersion, error2.meta);
^
Error:
Invalid `prisma.employee.createMany()` invocation:
Foreign key constraint failed on the field: `Employee_companyTitleId_fkey (index)`
at RequestHandler.handleRequestError (/Users/inno/Desktop/Projects/consultbae/nestjs-microservice-boilerplate/node_modules/@prisma/client/runtime/index.js:34310:13)
at RequestHandler.request (/Users/inno/Desktop/Projects/consultbae/nestjs-microservice-boilerplate/node_modules/@prisma/client/runtime/index.js:34293:12)
at PrismaService._request (/Users/inno/Desktop/Projects/consultbae/nestjs-microservice-boilerplate/node_modules/@prisma
tenant is inactive and its users is trying to log in