Pdf comment (edit) reload after some time error: The file version has been changed. The page will be reloaded

docker documentserver is latest version
config like this:

{
    "document":{
        "fileType":"pdf",
        "title":"flyer_01094618.pdf",
        "url":"https://example.com/storage/sod/95/flyer_01094618.pdf",
        "key":"v5ljdpwRQSvfLO2k",
        "permissions":{
            "chat":false,
            "comment":true,
            "copy":false,
            "deleteCommentAuthorOnly":false,
            "download":true,
            "edit":true,
            "editCommentAuthorOnly":false,
            "fillForms":false,
            "modifyContentControl":false,
            "print":false,
            "protect":true,
            "review":false
        }
    },
    "height":"100%",
    "width":"100%",
    "documentType":"pdf",
    "editorConfig":{
        "mode":"edit",
        "coEditing":{
            "mode":"fast",
            "change":true
        },
        "customization":{
            "anonymous":{
                "request":true
            },
            "forcesave":true,
            "autosave":true
        },
        "callbackUrl":"https://example.com/api/meeting-protocol/save/20",
        "user":{
            "id":2,
            "name":"Admin"
        }
    },
    "token":"token"
}

Save file code:

if ($request->get('url') && in_array($request->get('status'), [2, 6])) {
    Storage::disk('public')->put($file->file, file_get_contents($request->get('url')));
}

echo "{\"error\":0}";
exit();

Flow:
open edit page
add some comment
open edit (view) page via another user
all data is saved comment is visible
download file and file has comments in downloaded file
close edit page tabs
try reopen edit page after 1-3 minutes
will show error

The file version has been changed. The page will be reloaded.

How to fix that? what is issue?

This error message means you are trying to open a document using a key that was already used for a file that was edited and successfully saved in the storage (Troubleshooting).
It is important that every time the document is edited and saved, the document.key is generated anew and the file is opened using the new key