Getting 401: Missing or invalid credentials after DB replication

Recently migrated my Strapi instance from Heroku to Railway and getting this error in the new environment. Has anyone else found a way to fix this?