question

Upvotes
Accepted
18 1 4 10

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.

Hello @YC

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.
Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an 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.

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.