Unable to share

We are unable to share since we moved NC to Docker
We have this error
Failed to load resource: the server responded with a status of 403 (Forbidden)
ShareRequests.js:62 Error while creating share i {message: ‘Request failed with status code 403’, name: ‘AxiosError’, code: ‘ERR_BAD_REQUEST’, config: {…}, request: XMLHttpRequest, …}
(anonymous) @ ShareRequests.js:62

Nextcloud 25.0.4
PHP 8.1.16
PostgreSQL 15.2