Hi Everyone,
I’m trying to get the access token in the postman for the orchestrator but cannot get that after getting the status code 200.
Can anyone help me with this? How can I get the access token to use the orchestrator API.
what I’m getting in the postman
what I want
@Anil_G, Thanks for the quick response. I will try this method and keep you posted.
1 Like
@Kumar_Sahu_Sameer
the urls are different
token url is "https://account.uipath.com/oauth/token"
you are using "https://cloud.uipath.com/oauth/token"
Hi @Anil_G , tried the method which you suggested but got this error
Hi @muktadir, I have tried that URL but got this error
@Kumar_Sahu_Sameer
try with
grant type "refresh token"
client credentials set to whatever the value is in orchestrator
from where i can get this from orch could you please help me out ?
go to admin panel → select you tenant → click on api access → User key is your refresh token
body should be like
“grant_type”: “refresh_token”,
“client_id”: client_id,
“refresh_token”: refresh_token,
But there is no refresh token available
Anil_G
(Anil Gorthi)
12
@Kumar_Sahu_Sameer
Authorization did you select as no auth…
Also did you haooen to create an external app …and get detiails from there…is scope exactly matching?
Cheers
@Kumar_Sahu_Sameer
is the headers like these
“Authorization”: “Bearer”, “Content-Type”: application/json
Anil_G
(Anil Gorthi)
16
@Kumar_Sahu_Sameer
May I know the scope is same and client id and secret are correct?
I just tried and could get a token
You get bad request when some extra value is there or some mnadatory is misisng…can you check the same
Cheers
system
(system)
Closed
17
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.