API error 1002 QueueItems returns 'User not found'

Hi,
I’m implementing the new 0Auth authentication in my API using the OR.Queues scope.

I’m able to create queue items in the orchestrator with POST odata/Queues/UiPathODataSvc.AddQueueItem.
I can get all my queue items with GET odata/QueueItems

However, I cannot get specific queue items back with GET ‘/odata/QueueItems(1931592)’. The API returns
{ "message": "User not found", "errorCode": 1002, "resourceIds": null }

What does that error message mean?

@Tiramisu

Check if the QueueItem is exists or not

Hope this may help you

Thanks

Hi @Tiramisu ,

Check below screenshot, it’s working for me.
I think you need to correct your url of GET

Hi Srini84. I know the queue item exists, because I get it (them) with the GET to odata/QueueItems. Does that mean that the message “User not found” is wrong?

Continuing the discussion from API error 1002 QueueItems returns 'User not found':

@ The URL with error message from Postman

The URL works in Swagger

What is the difference between permissions and scopes?
Do I need both in order to use the api with 0auth?
If so, how to set permissions for external applications?
image