Not able to get the access token(bearer) from UIPATH

Hi team ,

The below setting works perfectly in Postman -

I am calling a certain URL using HTTP Request .
METHOD : POST

Input - accept format - JSON
Options - body -
{
‘client_secret’: ‘abc’,
‘refresh_token’: ‘def’,
‘client_id’: ‘ghi’,
‘grant_type’: ‘def’
}"

Body format - application/json

I am getting below output -

image

Am I missing something to put ?
Headers?
Any other parameters?

Please help.

Regards,
Gokul

are these under the parameters property @gokul1904 ?

No I have put it in the body section

Options–>Body

Regards,
Gokul

Tried with this keeping the body empty.Still getting the same error.

This is an example of parameters:

This is an example of Properties:

1 Like

And for refresh_token grant type, the Properties should look similar to this:

1 Like

Thanks a lot marian for your answer.
I was not putting the grant_type as “refresh_token” and instead was putting the actual refresh token.

Regards,
Gokul

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