Collabora editing with anonymous user

Hello, i have some weird issue. We have collabora enteprise and nextcloud 18.

When somebody anonymous open public document with editing, nextcloud response is 404.

When i check proxy. Nextcloud return in response this two value
var richdocuments_token = ‘’’’;
var richdocuments_urlsrc = ‘’’’;

When user is logged, nextcloud dont have this issue.

Do you have any idea, how can i fix it?