Shared office document can't saved

Hi!

We have a problem with CODE and saving of documents.

We use a single VM Nextcloud installation (version 28) with the default Nextcloud Office and built-in Code Server. Code works but when sharing a document with a guest it is not possible to save the document. The error message in the log is:

[...]"message":"Exception thrown: InvalidArgumentException","userAgent":"COOLWSD HTTP Agent 24.04.1.3","version":"27.1.9.1","exception":{"Exception":"InvalidArgumentException","Message":"No user found for the uid xyz123","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/richdocuments/lib/Controller/WopiController.php","line":451,"function":"setUserScope","class":"OCA\\Richdocuments\\Service\\UserScopeService","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"putFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/richdocuments/lib/Service/UserScopeService.php","Line":51,"CustomMessage":"Exception thrown: InvalidArgumentException"}}

The uid/user is the user you need to enter when opening the shared document. You can enter anything.

Interestingly, when you create a user for example named “1” without passwort or anything and then use it when asked for a username the saving works.

Any help would be appreciated.

Thanks!