Generic Share Exception

Nextcloud version (eg, 20.0.5): 22.1.0
Operating system and version (eg, Ubuntu 20.04): CentOS 8
Apache or nginx version (eg, Apache 2.4.25): unknown
PHP version (eg, 7.4): 7.4.22

The issue you are facing:
Hi, everyone,

we have recently had the problem that the sharing does not work.
In spite of adjusted permissions, users cannot upload or edit files. It occurs with both old and newly created folders.

The following can be seen in the log.
OCP \ Share \ Exceptions \ GenericShareException: Error creating the share: You are not allowed to share the test project.

Does anyone know this message and what to do?

Thank you

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Create a folder and share it with user
  2. set all permissions
  3. User tries to make changes. The user cant make changes and get a pop up “you have no rights to upload and create files here”.

The output of your Nextcloud log in Admin > Logging:

OCP \ Share \ Exceptions \ GenericShareException: Error creating the share: You are not allowed to share the test project.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE