The client sets the price, role, or plan in Next.js
criticalUpdated Oct 12, 2026
Assign fields explicitly:
Fix for Next.js
Assign fields explicitly:
await db.user.update({
where: { id: user.id },
data: { name: form.name },
});
Do not data: await request.json().
The five-minute check, the other platforms, and the agent prompt are on the full guide. More Next.js fixes are on the Next.js page.