Hi All,
I am trying to use the swagger to create the API request but I am getting the error as
"message": "You are not authenticated!",
"details": "You should be authenticated (sign in) in order to perform this operation."
The url I am using is UiPath and also logged into the orchestrator. In one tab the orchestrator is opened and in the second the swagger is opened.
I’m looking for some suggestions on how to get rid of this issue.
Thanks in advance
2 Likes
loginerror
(Maciej Kuźmicz)
April 29, 2022, 4:06pm
4
Hi @Sanjit_Pal
Does it work when you append the swagger URL to the address in the same browser tab as your logged in Orchestrator to navigate to swagger this way?
Hi @loginerror ,
I did not worked in that way as well.
Still showing you are not authenticated.
Thanks,
Sanjit Pal
1 Like
Hey @Sanjit_Pal
Is that the cloud orchestrator?
Thanks
#nK
Hi @Sanjit_Pal ,
Can you show us the error screenshot of your issue?
Regards,
@90s_Developer
1 Like
loginerror
(Maciej Kuźmicz)
May 2, 2022, 11:08am
8
Also, which API call are you trying to execute? Does it also fail for the simplest get request, such as this one?
Hi @loginerror ,
As you can see in the below screenshot, am calling the simple api, but still getting that error.
Regards,
Sanjit
loginerror
(Maciej Kuźmicz)
May 6, 2022, 1:27pm
10
Does the same happen on different web browsers and/or network connection? Are there any errors in the Console or Network tab of the browser console?
(I think I’ve just realized it is a duplicate, is it also your account in this thread ?)
The Solution is very simple.
Click on Authorize in the right upper corner
Logout
Scroll down and press Authorize
Close the page
Go back to
https://cloud.uipath.com/ORG_NAME/TENANT_NAME/orchestrator_/swagger/index.html#/Folders/Folders_Get
Try out
Execute
Results:
Let us know if this helped.
1 Like
Sanjit_Pal
(Sanjit Pal)
September 1, 2022, 12:51pm
13
Hey @marian.platonov ,
The authorize button is unlocked for me
In your screenshot if you notice that lock sign is locked.
I am not getting that logout as well which you have mentioned in the 2 point.
Thanks,
Sanjit
In this case, follow this:
Don’t change the client_id and leave the client_secret empty
Then click on Authorize
Then Close
Then retry the /odata/Folders
Let us know if this helped.
1 Like
Sanjit_Pal
(Sanjit Pal)
September 1, 2022, 4:20pm
15
Thanks @marian.platonov the issue is resolved.
1 Like
system
(system)
Closed
September 4, 2022, 4:21pm
16
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.