Error on authenticated requests

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

I don’t know why I have this error 401 on authenticated requests
"message": "Schema hasn't been registered for model \"user\".\nUse mongoose.model(name, schema)"

Is it a db error?

locally, it seems that this error only happens with some users.

I forget to put the User.settings.json on the users-permissions