question

Upvotes
Accepted
39 1 2 8

Problem with Machine ID

I guess I have problem with my Machine ID and Password when using Refinitiv Data Library in python.

For example when I run

    rd.open_session(name='desktop.workspace')
    data = rd.get_data(['EUR=', 'THB='], fields=['BID', 'ASK'])
    print(data)

or

    rd.open_session(name='desktop.workspace')
    response = search.Definition("IBM Bonds", top=100).get_data()
    print(response.data.df)

I get data.

But when I do the same using ...

rd.open_session(name='platform.rdp') 

... I get “missing scope” errors:

Missing scopes: {'trapi.search.read'}
Missing scopes: {'trapi.streaming.pricing.read'}

Could you pls help.

#technologyrdp-apicloudmachine-id
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
Accepted
24.7k 64 15 21

Hi @Anufriyev,

The error means that your ID does not have the relevant permission to get the real time streaming data. Please contact your Refinitiv account manager to get additional entitlements.

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
39 1 2 8

But why I get data using

rd.open_session(name='desktop.workspace') ?
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
24.7k 64 15 21

Desktop (desktop.workspace) and Platform (platform.rdp) are two different products with their own unique content set and entitlements. You have permission to get this data on the Desktop but your Platform access (Machine ID) is not permissioned for it.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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