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!

Tagged:

Best Answer

  • Gurpreet
    Answer ✓

    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

Answers

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