RDError: Error code 403 |

capture.jpgWhile trying to fetch data from Refintiv API this week, I am currently facing below error. Cna you please check why this below error occured, This was working fine last week, but started facing issue from this week. Please check


RDError: Error code 403 | <html>

<head>

<title>Forbidden</title>

<style type="text/css">

body {

background-color: #242424;

color: #c8c7c7;

font-family: Calibri, Helvetica, Arial, sans-serif;

font-size: 16px;

}

</style>

</head>

<!-- Response

Server: SGWP-ERPA06

Date: Thu, 05 Sep 2024 07:02:18 GMT

HTTP Code: 403

HTTP Response: Forbidden

X-Varnish: 312997187

Backend: default

-->

<body>

<h1>Forbidden</h1>

<p>Invalid token</p>

</body>

</html>

Answers

  • @axelrose.bermillo

    Thank you for reaching out to us.

    To investigate this issue, please enable the debug log level in the library by using the following code.

    config = rd.get_config()
    config.set_param("logs.transports.file.enabled", True)
    config.set_param("logs.transports.file.name", "refinitiv-data-lib.log")
    config.set_param("logs.level", "debug")
    rd.open_session()

    Then, please share the refinitiv-data-lib.log file when the problem occurred.

  • @axelrose.bermillo

    According to the status code (403), it could be the problem on the backend system.

    Please contact the support team directly to verify what the problem is.