"'Queue' does not exist" error when using the AddQueueItem through the Orchestrator API with Windows Auth

Hello,
I am looking to use the Orchestrator API to create queue items. I am able to add queue items successfully using a local account through postman, but I receive the following error when I attempt to use the NTLM authentication type within postman:

(QUEUE = the name Queue name entered in the body of the request)
{
“message”: “QUEUE does not exist.”,
“errorCode”: 1002,
“resourceIds”: null
}

Details:
Orchestrator 2018.4.1
Postman 7.0.6
My Windows account is an administrator in Orchestrator

Post: https://test-rpa-orchestrator.lmig.com/odata/Queues/UiPathODataSvc.AddQueueItem?api_key=queue
Headers:
-Content-Type: application/json
-Accept: application/json
-Authorization: Bearer (this option is unchecked when using NTLM auth
Body:
{
“itemData”: {
“Name”: “QUEUE”,
“SpecificContent”: {
“Content1”: “ContentData1”,
“Content2”: “ContentData2”
}
}
}

Am I doing something wrong or is Windows Authentication not supported for AddQueueItem through the API? Or is it perhaps a Postman issue, an in that case, is there another way to pass my Windows credentials?

1 Like