question

Upvotes
Accepted
3 1 4 7

Timeout error for Refinitiv-dataplatform.

Hello,

I am using refinitiv-dataplatform (not refinitiv-data) to fetch and I occasionally receive timeout error like following. The error doesn't get resolved with retries (sleep time set to 60 second). Is there in-built exception or other way to deal with it:


Error:

ERROR!!! An error occurred while requesting URL('https://api.refinitiv.com/data/datagrid/beta1/').

ReadTimeout('')


Thanks


#technology#productrefinitiv-data-platformrefinitiv-data-platform-libraries
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.

1 Answer

· Write an Answer
Upvotes
Accepted
80.9k 264 53 75

@lisa.mcentee

Please share the code that you are using.

I can run it properly.

rdp.get_data(
    universe=["TRI.N", "IBM.N"],
    fields=["TR.Revenue", "TR.GrossProfit"]
)

1672726290048.png

You can also enable logging in the RDP library to verify the problem. Please refer to this discussion regarding how to enable logging in the RDP library.





1672726290048.png (13.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.

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.