Back

API 500 Errors after upgrade from 1.3.1 to 1.3.3

  • 0
  • Databases
EthanJames
1 May, 2023, 12:26

When using the python SDK or REST to create a new database I get an error over an unknown column (Error attached). The database is created but cannot be opened. Using API key with database read and write for all items. 500 Error when posting and 500 error when entering the database it creates

TL;DR
The user experienced API 500 errors after upgrading from version 1.3.1 to 1.3.3. The solution suggested by another user on the support thread was to backup the database and run the migration. The user also mentioned that they noticed an error regarding an unknown column when using the Python SDK or REST to create a new database. The database was created but couldn't be opened. The specific error message and steps to recreate the issue were not provided.
EthanJames
1 May, 2023, 12:27

databases.create(ID.unique(), 'test')

Binyamin
1 May, 2023, 13:08

What version of Appwrite are you using?

EthanJames
1 May, 2023, 13:23

1.3.3

EthanJames
1 May, 2023, 13:24

I just noticed this error as well

EthanJames
1 May, 2023, 13:43

On the DB side of things table '_1_database_2' is created with the same columns as the one I created from the front end

Binyamin
1 May, 2023, 13:44

Btw when you've upgraded to 1.3.3 did you run migrates?

EthanJames
1 May, 2023, 13:45

No.. I upgraded from 1.3.1

Binyamin
1 May, 2023, 13:45

So Backup your database And run migrate

Binyamin
1 May, 2023, 13:45

Then try again

Binyamin
1 May, 2023, 13:46

You can see more in this message https://discord.com/channels/564160730845151244/1101356664633970710/1101608958076145695

As usually you don't need to run migration, this time you need even in a patch version

EthanJames
1 May, 2023, 13:47

Ah I will give that a try now, thank you!

Binyamin
1 May, 2023, 13:47

lmn

EthanJames
1 May, 2023, 13:51

API 500 Errors after upgrade from 1.3.1 to 1.3.3

EthanJames
1 May, 2023, 13:52

worked a treat, thank you @Binyamin

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more