Using UIPath API and Token

Hello everyone, I hope everyone is doing well.

I am coming to you regarding a process that I have put in place in order to recover my jobs running on orchestrator via API.
My process was working fine last week, but since then I’ve encountered an issue.
I’m using HTTP Request to generate a token.

My body :

{
   "grant_type": "refresh_token",
    "client_id": "ID_CLIENT",
    "refresh_token": "REFRESH TOKEN"
}

Url : “https://account.uipath.com/oauth/token
Content-Type : “application/json”
X-UiPath-TenantName : My Tenant
I manage to get a token.
When I try to retrieve my jobs, my response is empty - 401.

The strange thing is that when I retrieve the API key from the swager during a test from swager, it works.

I think the token retrieval method must have changed, but I can’t find the problem. Do you have any ideas?

Thanks.

Thanks for documentation !

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.