question

Upvotes
Accepted
1 0 0 1

RDP API Get Access Token - https://api.refinitiv.com/auth/oauth2/v1/token getting {"error":"unsupported_grant_type" } in postman

Getting "unsupported_grant_type" 400 bad request status. Generated Client_id several time logged in-out from 2 different laptops using - https://emea1-apps.platform.refinitiv.com/apps/appkeygenerator but still getting this error. Please suggest.

1653279438193.png1653278755164.png

refinitiv-data-platform
1653279438193.png (61.4 KiB)
1653278755164.png (181.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
17.5k 34 12 12

Hello @ranjeet.prasad

The grant_type parameter supports the following values only:

  • password
  • refresh_token (for Refresh access token request)

You can set the username and password in the request body directly as follows.

password-case.png

For the authorization, you can set the { {CLIENT_ID}} as a username, then leave the password blank.

authen-request.png



password-case.png (50.7 KiB)
authen-request.png (55.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

This is an example of the refresh token case.

refresh-case.png

refresh-case.png (43.6 KiB)
Upvotes
1 0 0 1

Dear Wasin.W


I tried the steps suggested from you end but facing access denied issue now, for Get Access Token method

step #1 - App key is used as client_id regenerated from below screen



step#2 - under Authorization basic auth - > user name - client id

1653291983507.png


Step#3 Under Body

username : as shown

grant_type : password

clent_id: as shown

password: my login password

1653292148865.png

Please help


1653291983507.png (146.3 KiB)
1653292148865.png (143.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
17.5k 34 12 12

Hello

The access denied error means your account does not have permission to get the RDP APIs authentication token from the RDP Auth service.

Do you have the RDP account? Please note that the RDP APIs account and Eikon account permission are different.

I highly recommend you contact your Refinitiv representative/Account manager to verify your RDP account permission.

Additionally, you can find the Postman step-by-step guide on this Authorization and Time Series Summary (bar) in Postman page.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.