question

Upvotes
Accepted
18 1 2 9

DSWS Python API get_data() error handling?

Hi, how do we handle errors when invoking the DSWS Python API get_data()? It does not return an "err" object like the EIKON API get_data(). It also does not raise an exception -- even though the get_data() call is within the "try" block, my statement after the get_data() still gets executed. Appreciate your advice. Thank you.

eikon-data-apidatastream-apidsws-apierror-handling
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
681 2 2 1

Hi, could you please email directly james.bright@refinitiv,com with an example of what you are referring to. Errors are returned with DSWS

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.