Unspecified Error -2147221503 in GetVersionCommentHistory API call since M-Files 25.6

I am recently getting an exception in my Kanbanoo UIX dashboard code in the M-Files classic desktop client when calling the ObjectPropertyOperations.GetVersionCommentHistory method on one specific M-Files object (which does have 4 version comments). It doesn't happen on every object, so far only on one object.
My logs show that the exception started occuring since June 18, 2025, the day I upgraded M-Files to 25.6.14925.4 (prior to that I was running 25.3.14681.8).

So it likely is a bug introduced between M-Files 25.4 and 25.6. (I didn't change my side of the code for a long time)

The bug is uncritical for me other than user won't get to see some comments, but I though you'd like to know about it.

The ObjVer that I am passing to the API call is:

{
    "Type": 0,
    "ID": 506,
    "ObjID": {
        "Type": 0,
        "ID": 506,
        "ExternalRepositoryName": "",
        "ExternalRepositoryObjectID": ""
    },
    "Version": 41,
    "ExternalRepositoryName": "",
    "ExternalRepositoryObjectID": "",
    "VersionEx": {
        "Type": 4,
        "Version": 41,
        "ExternalRepositoryVersionID": "",
        "ExternalRepositoryVersionSortKey": 0,
        "ExternalRepositoryVersionSortKeyAsString": "0"
    }
}

Exception info:

CustomControlSite.cpp, 1049, Unspecified error. (0x80004005)
Kanbanoo UIXv1 dashboard: dashboard.js, 2, Unspecified error. (0x80004005)
MDispatchExImpl.h, 679, Unspecified error. (0x80004005)
MDispatchExImpl.h, 841, Unspecified error. (0x80004005)
CoVaultObjectPropertyOperations.cpp, 1416, Unspecified error. (0x80004005)
CoVersionComments.cpp, 24, Unspecified error. (0x80004005)
CoVersionComments.cpp, 81, Unspecified error. (0x80004005)
CoVersionComment.cpp, 24, Unspecified error. (0x80004005)
CoVersionComment.cpp, 125, Unspecified error. (0x80004005)
(M-Files 25.6.14925.4 2025-06-26T10:21:52.882Z)