Render erroring with postgresql needs to be rolled back error even though the database works file

Hi Guys,

I have a web app called Vidyadrishti on render, and a corresponding Postgresql database attached to it.

The problem I’m facing is that the app is erroring telling me that a PostgreSQL transaction needs to be rolled back.
However, when I test this on my local machine, the app works just fine.
Commits to the database also work as expected.
Any idea how I can fix this?
This is a Flask app btw.

Hi there,

You’ve not provided a lot of detail here. What’s the actual error/logs/stacktrace?

Thanks

Alan