500 (Internal Server Error)

What are you trying to do? (please be as specific as possible and include relevant screenshots, code snippets)

We are getting an internal server error. We are hosting ourselves and taking a look at our logs, we don’t see an issue.

We are getting this issue on our staging and development deployments. Nothing was updated/changed before the issue happened.

POST https://data.plasmic.app/api/v1/server-data/sources/39YUBEN6w8jbdZiGKaDCmV/execute

What are the reproduction steps?

When we log in on our app, we can’t retrieve data from the database.

Your help is greatly appreciated

Relevant links:

We are also getting this issue. I’m not sure if it is connected to the 500 server error issue

Adding some notes here: It seems like it is a supabase issue. Will update

We solved the issue.

It seems Supabase has changed how to connect to your database.

Prior you only needed a connection string and there was just one way to connect.

For anyone else who has this issue, the image below might be helpful.

In our case, we needed to add a key called: pool_mode with a value of transaction.