Anyone see this error lately? ```Error occurred du...
# orm-help
c
Anyone see this error lately?
Copy code
Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: FromSql(6), cause: Some(WasNull) }) })
j
Nope, and you should not. Do you know what causes it? Can you open an issue?
c
Yeah I can open an issue. It's caused by this line:
Copy code
const user = await prisma.user.findUnique({
    where: { id: data.userId },
    rejectOnNotFound: true,
  });