Unable to load syntax in Workspace Codebook. Result only shows blank line or black square.

Options

I am trying to run the code below but I'm only getting blank result or a black square as a result:

import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = [
'FDBc1'
] ,
fields = [ 'CF_CLOSE', 'CF_VOLUME', 'HST_CLOSE', 'HST_VOLUME' ]
)

display(df)

and

import refinitiv.data as rd
rd.open_session()
df = rd.get_data(
universe = ['FDBc1'],
fields = [
'PCTCHNG',
'BID',
'ASK_VOLUME',
'BCKGRNDPAG',
'BCAST_REF',
'CEDEL_NO',
'OFFCL_CODE',
'CTS_QUAL',
'ACTIV_DATE',
]
)
display(df)

I tried using other RIC such as XAU=, and it's working.

image - 2025-07-31T084328.889.png image - 2025-07-31T084354.014.png

Also, when I checked console logs, the following error appeared:

Console error #1:
s @ remoteEntry .e9912d23454bd9c21990.js:1
remoteEntry.e9912d23454bd9c21990.js:1 Unsatisfied version 3.2.4 of shared singleton module @jupyterlab /mainmenu (required ^3.5.0)
s @ remoteEntry .e9912d23454bd9c21990.js:1
remoteEntry.e9912d23454bd9c21990.js:1 Unsatisfied version 1.30.0 of shared singleton module @lumino /widgets (required ^1.33.0)
remoteEntry.e9912d23454bd9c21990.js:1 Unsatisfied version 5.2.4 of shared singleton module @jupyterlab /coreutils (required ^5.5.0)

Console error #2:
jlab_core.78630a5b1b5e80eeb18c.js?v=78630a5b1b5e80eeb18c:2 Disabling terminals plugin because they are not available on the server
k @ jlab _core.78630a5b1b5e80eeb18c.js?v=78630a5b1b5e80eeb18c:2
refinitiv-web-toolkit-storage.js:2 [rtk-plugin-storage] [list] Could you please update to use the new 'types' property on the function parameter for supporting the mixed asset types
e.validateListActionType @refinitiv -web-toolkit-storage.js:2
526.1afc2f80da992418a555.js?v=1afc2f80da992418a555:1 LSP.WidgetAdapter: Editor not found in editor_to_source_line map
transform_from_editor_to_root @ 526 .1afc2f80da992418a555.js?v=1afc2f80da992418a555:1
526.1afc2f80da992418a555.js?v=1afc2f80da992418a555:1 LSP.WidgetAdapter: Could not retrieve current context Proxy
context_from_active_document @ 526 .1afc2f80da992418a555.js?v=1afc2f80da992418a555:1

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @MCD

    Thank you for reaching out to us.

    This might be due to a permission issue. As a workaround, you can use delayed RICs by prefixing the RIC with a '/' character (/AAPL.O or /FDBc1)

    For example:

    import refinitiv.data as rd
    rd.open_session()
    df = rd.get_data(
    universe = ['/AAPL.O'],
    fields = [
    'PCTCHNG',
    'BID',
    'ASK_VOLUME',
    'BCKGRNDPAG',
    'BCAST_REF',
    'CEDEL_NO',
    'OFFCL_CODE',
    'CTS_QUAL',
    'ACTIV_DATE',
    ]
    )
    display(df)