What I’m trying to do:
add row to a table.
What I’ve tried and what’s not working:
- Adding a new row from the GUI. Gives a “Saved Failed: Could not save row: Unknown error”
- Add a row to an empty table.
- Add a row to a table in a different app.
- Changing data in a tale works as expected.
- Creating a new, blank app, adding a table and try to add a row in the gui.
- Tried both normal and Accelerated tables.
- Checked I’m not exceeding my database quotas
- Adding a row from server code and from the console both give result in below:
Code Sample:
from anvil.tables import app_tables
app_tables.test_table.add_row(number_col=1)
>> anvil.tables.TableError: Internal database error: ERROR: nextval: reached maximum value of sequence "app_storage_data_id_seq" (2147483647)
Clone link:
share a copy of your app