Problem while performing a call to Orchestrator API to retry a failed queue item

Hello there,
I am trying to call the endpoint ‘/odata/QueueItems/UiPathODataSvc.SetItemReviewStatus’ to update the review status of a queue item. This is the payload I am passing:

{
    "status": "Retried",
    "queueItems": [
        {
            "Id": 31231312221,
            "RowVersion": "AAAAAAAARm0="
        }
    ]
}

Of course, I am also passing the requested headers (‘X-UiPath-OrganizationUnitId’ and the Bearer token)

The response I obtain from the Orchestrator is this:

{
    "@odata.context": "https://cloud.uipath.com/dsdadsd/orch_dev/orchestrator_/odata/$metadata#UiPath.Server.Configuration.OData.BulkOperationResponseDto_1OfInt64",
    "Success": true,
    "Message": "Some items have not been updated. Reasons: the items have already been modified by another user.",
    "FailedItems": [
        31231312221
    ]
}

Does anybody know what am I doing wrong? I dont understand the “Message” response, as I have not modified any item.

I have seen this other post where another user has a similar problem. I am doing exactly what is explained there, but I am not receiving what is expected.

Let US know, the Details of retrieving the current row Version. Thanks

Hello, I am using the RowVersion used in this post, given that I do not know how to generate it or where to get it.

OK, so Just keep in mind, that the row Version value can be a different and depends to your queueitem

Just Use swagger for further Explorations and RnDs

Oh, so the row Version is an attribute from a Transaction. Now it works perfect!. Thank you mate.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.