It sounds like your n8n database schema got out of sync… Sometimes during updates there are db migrations that do not execute correctly and in your case the apiKey column got deleted but the schema didn’t pick up on that change.
Did you get anything else in the logs that said anything about migration?
Actually the best thing to do here is to Rollback the migration and try to update again.
See more on that here - Release notes | n8n Docs
@ria Im getting the same error . I didnt change nor update anything it suddenly stopped working . The last deployment was 2 months ago
These are the errors in the DB
I dont know what happened , i had to redeploy everything again and it started working , according to railway there was not a deployment made in the last 2 months, but maybe it got updated somehow ?