Public share fails to load

nextcloud 23.0.2 and collabora/code docker container latest version

I tested my first anonymous share link on a collabora office doc. When I open the link in new private browser as the share recipient it prompts to enter a name and then fails to load. The nextcloud log shows the error:

Caused by TypeError: OC\Group\Manager::getUserIdGroupIds(): Argument #1 ($uid) must be of type string, null given, called in /var/www/nextcloud/lib/private/Group/Manager.php on line 316

Hi @cortrum is this similar to Nextcloud Office Bug. Document fails to load on share - #13 by flotillaropes - ℹī¸ Support - Nextcloud community ?

Yes, appears to be same issue