Internal error with `get_connection_string` on cloned app

When I run an app that I have cloned, I get an internal error when it executes get_connection_string.

I tried to rename a column of a table, I have a faint memory that it may help refreshing some internal schema, but it didn’t help.

How do I get the clone to work?

Here is the internal error:
image

I remember this one. You are going the right way with renaming columns but you’ll have to rename one column for all the data tables in your app.

2 Likes

I had double clicked on the name of the first column of each table and pressed enter. This used to work.

I tried again. Now I had to double click, change the name, double click again and change the name back to what it was (after a mildly annoying wait of 2-3 seconds). I guess the new improvements on the UI don’t really update if nothing has changed.

1 Like

I also experienced this today randomly on an app that has been stable, calling anvil.tables.get_connection_str() caused an internal server error. I had to go into each table in my app, rename a column, rename it back, and then after doing it for each table, the problem was resolved.