Hi,
I am getting error when I am accessing the Orchestrator UiPath API.
Given below Headers:
Authorization With Bearer token
X-UIPATH-TenantName
X-UIPATH-OrganizationUnitId
Not sure why I am getting error in response.
Please suggest here
Hi,
I am getting error when I am accessing the Orchestrator UiPath API.
Given below Headers:
Authorization With Bearer token
X-UIPATH-TenantName
X-UIPATH-OrganizationUnitId
Not sure why I am getting error in response.
Please suggest here
That was old version of authentication,
Please check the below post for the new version
Hi Hareesh,
Thanks for details steps, I have followed the same:
Steps to do with the new API
For GET folders API I am getting same error
Can you let me know the Access token is passed correctly and what are the headers you are trying to send?
Hi Hareesh,
Yes I have given below Headers:
Authorization With Bearer token
X-UIPATH-TenantName
for GET folders API
Actually looking for API solution from last 2 days
Lot of work pending because of this authentication error
If you are giving those along with the bearer token you got recently, it should work,
Can you let me know if the same bearer token working for someother request?
Hi,
I have tried other GET APIs but getting same authentication error for other APIs also
https://cloud.uipath.com/odata/Sessions
https://cloud.uipath.com/odata/Releases
I think the issue will be the bearer token, may be it is expired, As far as I know, bearer token will expire in one hour after you got it from the request, Can you try creating new token and try it
Hi,
FOr every Post request for /oauth/token API will give fresh access_token.
And copying the same in other Get APIs.
But still no luck getting same error.
Is there any setting to update the timeout period for access_token api
Hi,
Need to check with UiPath Support team. But I don’t think so UiPath will give support for Community edition.
Because problem is there from last couple of days.
Not Sure but Is it any UiPath API issue?
Please let me know this @autpat
and for community edition, we have a team here to help you. We are happy to help you until you found the solution
You are selecting bearer token as the authentication type, you don’t need to give “Bearer” along with the token.
You need to give it when you are passing the value in headers @autpat
This will resolve your issue if the token is generated within one hour
Hi,
I have removed Bearer string and added newly generated access_token.
But still getting same error
Can you let me know the headers also @autpat
I’m not sure what you are missing here,
I know I’m asking too many questions, but can you let me know whether you are using id_token or access_token?
Can you add content-type :application/json as below