List 8 likely root causes for intermittent 500s in a Prisma-backed endpoint (timeouts, schema drift, null fields, etc.) and how to confirm each quickly.
Draft a small patch that adds input validation, wraps DB calls with try/catch, and returns a structured error response; include an example JSON error payload.