N
Neon8mo ago
equal-jade

NextJS shows a successful commit to the table but the commit is not in the table.

I have project that receives POST requests and saves body in the NEON table (I initiated the DB with NextJS Postgre). Most of the time this is successful but there are instances when it is not successful. The logs on vercel show that the connection to the Neon Db was successful but when you check the table, you find that the commit was not made. The rate of this failure has increased over the last 2 - 3 weeks. What could be issue ?
1 Reply
fascinating-indigo
fascinating-indigo8mo ago
You're not seeing an error in the transaction? When running an INSERT you should either see it succeed or fail to succeed in your app so you know it didn't write.

Did you find this page helpful?