question

Upvotes
Accepted
3 0 0 2

Error code -1 when trying to use rd.get_data

Hello,

I am trying to extract value chain data using python library refinitiv.data. I can start the session with no issues:

1703946477458.png

However, when I try to extract data (I tried to extract different kind of information using rd.get_data) I get the following error:

1703946625935.png

Could you please help me?

Thank you very much.

#technologyerrorsupply-chain
1703946477458.png (11.3 KiB)
1703946625935.png (48.6 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.

<AHS>

import refinitiv.data as rd
rd.open_session()

df = rd.get_data(
    universe=['ENEI.MI'],
    fields=['TR.SCRelationship', 'TR.SCRelationship.ScorgIDOut',
           'TR.SCRelationship.instrument', 'TR.SCRelationshipConfidenceScore', 'TR.SCRelationshipFreshnessScore',
           'TR.SCRelationshipUpdateDate'])
df

1 Answer

· Write an Answer
Upvotes
Accepted
14.2k 30 5 10

Hi @student0113 ,

I can get the result successfully using the code you posted. Could you please let me know if the issue still persist?

1704178898569.png


1704178898569.png (80.1 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.

Hi @raksina.samasiri,


thank you for your answer. It is working now indeed. Do you know what the problem could have been?

Thank you

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.