Random 500 - SequelizeDatabaseError: relation "XXX" does not exist

Thanks for the help @Sliman_Medini
It’s always on user table and we don’t touch the envs user tables in testing or other

We might have found a fix: the schema for this table (public) was defined by an env variable that was never set. We replaced it with a hardcoded "public" and now we don’t seem to have the error anymore…

I understand how sequelize might not set a schema by default but then I don’t know why it was working sometimes…

1 Like