I am just running the provided examples. https://github.com/Refinitiv-API-Samples/Example.RDPAPI....

...Python.InstrumentPricingAnalytics/blob/main/financial-contracts/Interest%20Rate%20Derivatives/Basis%20Swap%20Valuation.ipynb and got this error

@samer.mahfouz

Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answer

  • pf
    pf LSEG
    Answer ✓

    Hi @elviejane.balmes,

    You should add session.set_log_level(1) to get more detail.

    On my side, it doesn't work because of following, I didn't get same result but result is None:

    print(response.data.raw)
    None

    print("Error code:", response.error_code)
    print(response.error_message)

    Error_code: 503
    <html> <head><title>503 Service Temporarily Unavailable</title><script type="text/javascript" src="/ruxitagentjs_ICA2SVfqru_10209210209190405.js" data-dtconfig="rid=RID_1587191951|rpid=-42746178|domain=reutest.com|reportUrl=/rb_bf83661jww|app=ea7c4b59f27d43eb|featureHash=ICA2SVfqru|vcv=2|xb=^bs/EikonLibrary^bs/LibraryServerSvc^bs.svc^bs/download|rdnt=1|uxrgce=1|bp=3|cuc=vfgpmaot|mel=100000|dpvc=1|lastModification=1614246571307|dtVersion=10209210209190405|tp=500,50,0,1|uxdcw=1500|vs=2|agentUri=/ruxitagentjs_ICA2SVfqru_10209210209190405.js"></script></head> <body> <center><h1>503 Service Temporarily Unavailable</h1></center> </body> </html>


Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.