I followed the tsed official document steps and the validate error message, then give the “author” with null, but got another error, why. The tsed suggest me to ask here, thx.
👀 1
a
Austin
06/27/2022, 8:28 PM
Hey there 👋,
I can’t know for sure without looking at your code, but it looks like you didn’t run
JSON.parse()
on the incoming request. It seems like Prisma thinks you are passing JSON when you should be passing a JavaScript object.
v
Vladi Stevanovic
07/18/2022, 8:07 PM
👋 hey @ShadowPrompt! Did you have a chance to see Austin's comment?
Let us know if you still have any issues!