For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 0 1 3

Errno 11001 when getting a reportTemplate

As of today I get a Errno 11001 when I try to retrieve a reportTemplate. I can get the list of templates from this url:

"https://selectapi.datascope.refinitiv.com/ServiceLayer/Extractions/ReportTemplates"

but when I try to access a specific report (with xxxx the ReportTemplateId of an existing report) with a get to:

"https://hosted.datascopeapi.reuters.com/RestApi/v1/Extractions/TickHistoryTimeAndSalesReportTemplates('xxxxx')"

I get:

Failed to establish a new connection: [Errno 11001] getaddrinfo failed

the same code worked flawlessly in the past.

Has something changed or the server side or am I doing something wrong?

Thanks!

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

Upvotes
Accepted
21.8k 57 14 21

Hello @giacomo.mazzi ,

This is a network issue and is not related the report template. You are trying to access the legacy Reuters hostname which have been changed to Refinitiv as per this PCN. Please change your code to point to the new Refinitiv URLs: https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/TickHistoryTimeAndSalesReportTemplates

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.

Upvotes
5 0 1 3

Hi @Gurpreet ,

thanks! you are right I had taken a snippet of this code from an older example and I was still using Rest, changing the url solved the problem.

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.