Hi,
I have been trying to add items to queue using API. When I do this using swagger provided by UiPath then it adds item to queue and my process is also completed within some time. But when i try to do same using postman. I got 403 Forbidden error. and this as response body
{
“message”: “You are not authorized!”,
“errorCode”: 0,
“result”: null,
“targetUrl”: null,
“success”: false,
“error”: {
“code”: 0,
“message”: “You are not authorized!”,
“details”: “You are not allowed to perform this operation.”,
“validationErrors”: null
},
“unAuthorizedRequest”: true,
“__abp”: true
}
Why is this happening. Also what should be scope value in postman.I use what i found in swagger.
We have to use client id and secret which we got from orchastrator/Tenet/Machine…??Or any other client id have to be used?there is one more client id present in preferenec/ security but there is no secret availabe.
when i leave scope empty it takes 2 scope by default which are IdentityServerApi OrchestratorApiUserAccess.
i used these two scope in postman and got access token but still it was giving same error.