From a UIX v2 JavaScript dashboard instance I am calling
GetObjectDataOfMultipleObjects
to retrieve object data for related objects and occasionally (but reproducibly) the call fails with the following error:
"name": "Something went wrong",
"message": "Unspecified error.",
"errorCode": -2147467259,
"innerExceptionCode": -2147467259,
"stack": "GrpcProxy.IRPCObjectOperations.generated.cpp, 4501, Unspecified error. (0x80004005)\r\nCoGrpcProxy_IRPCObjectOperations.generated.cpp, 4454, Unspecified error. (0x80004005)\r\nGrpcProxy_Protobuf_IRPCObjectOperations.generated.cpp, 9449, Unspecified error. (0x80004005)\r\nGrpcProxy_Protobuf_IRPCObjectOperations.generated.cpp, 9492, Unspecified error. (0x80004005)\r\nGrpcProxyImpl_Struct_IRPCObjectOperations.cpp, 1912, Unspecified error. (0x80004005)\r\n(M-Files 24.11.14245.5 2025-01-23T11:07:43.082Z)",
"version": "24.11.14245.5",
"timestamp": "2025-01-23T11:07:43.082Z",
"statusCode": 500
}
The request object for that call was:
{
"obj_vers": [
{
"obj_id": {
"type": 10,
"item_id": {
"internal_id": 383,
"external_repository_id": {
"connection": "",
"item": ""
}
}
},
"version": {
"type": 4,
"internal_version": 1,
"external_repository_version": "",
"external_repository_sort_key": 0
}
},
{
"obj_id": {
"type": 10,
"item_id": {
"internal_id": 265,
"external_repository_id": {
"connection": "",
"item": ""
}
}
},
"version": {
"type": 4,
"internal_version": 17,
"external_repository_version": "",
"external_repository_sort_key": 0
}
},
{
"obj_id": {
"type": 10,
"item_id": {
"internal_id": 383,
"external_repository_id": {
"connection": "",
"item": ""
}
}
},
"version": {
"type": 4,
"internal_version": 1,
"external_repository_version": "",
"external_repository_sort_key": 0
}
},
{
"obj_id": {
"type": 10,
"item_id": {
"internal_id": 377,
"external_repository_id": {
"connection": "",
"item": ""
}
}
},
"version": {
"type": 4,
"internal_version": 6,
"external_repository_version": "",
"external_repository_sort_key": 0
}
},
{
"obj_id": {
"type": 10,
"item_id": {
"internal_id": 380,
"external_repository_id": {
"connection": "",
"item": ""
}
}
},
"version": {
"type": 4,
"internal_version": 2,
"external_repository_version": "",
"external_repository_sort_key": 0
}
},
{
"obj_id": {
"type": 10,
"item_id": {
"internal_id": 381,
"external_repository_id": {
"connection": "",
"item": ""
}
}
},
"version": {
"type": 4,
"internal_version": 2,
"external_repository_version": "",
"external_repository_sort_key": 0
}
},
{
"obj_id": {
"type": 10,
"item_id": {
"internal_id": 352,
"external_repository_id": {
"connection": "",
"item": ""
}
}
},
"version": {
"type": 4,
"internal_version": 3,
"external_repository_version": "",
"external_repository_sort_key": 0
}
},
{
"obj_id": {
"type": 10,
"item_id": {
"internal_id": 349,
"external_repository_id": {
"connection": "",
"item": ""
}
}
},
"version": {
"type": 4,
"internal_version": 4,
"external_repository_version": "",
"external_repository_sort_key": 0
}
},
{
"obj_id": {
"type": 10,
"item_id": {
"internal_id": 363,
"external_repository_id": {
"connection": "",
"item": ""
}
}
},
"version": {
"type": 4,
"internal_version": 3,
"external_repository_version": "",
"external_repository_sort_key": 0
}
}
],
"data_request": {
"required_data_flags": {
"all": false,
"object_version": true,
"properties": true,
"acl": false,
"current_user_permissions": false,
"properties_for_display": false,
"relationships": false,
"collection_member_relationships": false,
"object_activities": false
},
"error_tolerance": 1,
"identity_type": 1,
"object_activities_parameters": {
"category_filter": {
"all": false,
"metadata": false,
"file_content": false,
"comments": false
},
"limit": 0,
"offset_obj_ver_version": {
"type": 7,
"internal_version": 0,
"external_repository_version": "",
"external_repository_sort_key": 0
}
}
}
}
I have not tried to figure out what condition exactly triggers the above error. Do you already have a bug report on this issue?
It could be due the request object containing the same obj_vers twice (type 10, ID 383) – this is due to it being returned by a prior call to GetObjectDataOfMultipleObjects as a related object with different values for direction.
Obviously, it would be helpful to have a more specific error message.