safak / next-blog

316 stars 318 forks source link

prisma error #5

Closed Op-Pautu closed 1 year ago

Op-Pautu commented 1 year ago

Invalid prisma.user.create() invocation:

Inconsistent column data: Malformed ObjectID: provided hex string representation must be exactly 12 bytes, instead got: "clmegb4vn0001tqbkp5k5t8j2", length 25 for the field 'id'

Op-Pautu commented 1 year ago

apparently the problem occurs when you dont wrap your DATABASE_URL within " "