question

Upvotes
Accepted
3 0 0 2

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


refinitiv-data-platform#technology#productrefinitiv-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

Upvotes
Accepted
59k 164 45 65

@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.