question

Upvotes
Accepted

Failed to get access token 400

Hello,

I am trying to connect to the Refinitiv platform and receive volatility data, but I always get the same error "Failed to get access token 400".

I'm having the same error trying the example of the "Quickstart guide for Refinitive Data Platform"

I have verified that the user, password and application ID are correct.

Can you help me?

Thanks you.

rdp-apirefinitiv-data-platformerrorvolatility
1590046172193.png (35.6 KiB)
icon clock
10 |1500

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

Upvotes
Accepted
20.3k 73 10 20

Hi @axel.zamorano.empresa_externa

The final log file shows you connecting successfully - but your account licence is not entitled to the timeseries data - so this is something separate that the account team will need to remedy


icon clock
10 |1500

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

Upvotes
20.3k 73 10 20

Hi @axel.zamorano.empresa_externa

Do you have a valid MachineID i.e. programmatic Username (which you would have received in a Welcome email) and did you set the password using the link in the email?

Note the above email does not make it obvious that you need to register on MyRefinitiv before activating your MachineID password - so please ensure you are also registered on the MyRefinitiv site - using your corporate email.

Also, did you generate an AppKey (ClientID) using the AppKey Generator (top left hand corner) at https://api.refinitiv.com/ ?

When you Create your AppKey ensure you tick the EDP API checkbox

Once you have set all the above values and entered into the QuickStart example, please try running again and report back.

If you have already done the above, please attach the fuller console output as a txt file here - removing any token values / credentials etc from the output.


1590051175757.png (34.0 KiB)
1590051105331.png (31.7 KiB)
icon clock
10 |1500

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

Upvotes

Hi,

I have checked the credentials in another environment and they work properly.

I attach the output.error.txt


error.txt (1.1 KiB)
icon clock
10 |1500

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

Upvotes

Sorry, in which I have attached not all the information comes out. I attach the correct one. error.txt


error.txt (1.4 KiB)
icon clock
10 |1500

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

Upvotes

I attach the new output with the lines that you have asked me.

Thx you.

error.txt


error.txt (1.5 KiB)
icon clock
10 |1500

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

Upvotes

I tried the same in my local pc where i dont have any company proxy or something like this, maybe the error log is useful for you.

errorlocal.txt



errorlocal.txt (787 B)
icon clock
10 |1500

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

Upvotes
20.3k 73 10 20

Hi @axel.zamorano.empresa_externa

This does appear to be a firewall / port type issue. I have asked Odon to refer this to our RDP Platform team - who can hopefully assist your internal IT/Security team to resolve the issue

icon clock
10 |1500

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

Click below to post an Idea Post Idea