I think the problem is due to the container schema that's not deployed to the production environment.
Strangely everything works except the sharing functionality.
But now the question is: if I deploy to the production environment the users will lose their data?