Hi, there are a number of questions and answers on this topic though it appears nothing is consistent / simple. I am accessing refinitiv data library via a workspace access
The tutorial sugges the below to retrieve a RIC from an ISIN....
import refinitiv.data as rd
from refinitiv.data.content import symbol_conversion
# Symbol types:
# - symbol_conversion.RIC => RIC
# - symbol_conversion.ISIN => IssueISIN
# - symbol_conversion.CUSIP => CUSIP
# - symbol_conversion.SEDOL => SEDOL
# - symbol_conversion.TICKER_SYMBOL => TickerSymbol
# - symbol_conversion.OA_PERM_ID => IssuerOAPermID
# - symbol_conversion.LIPPER_ID => FundClassLipperID
response = symbol_conversion.Definition(
symbols=["AU3TB0000150"],
from_symbol_type=symbol_conversion.SymbolTypes.ISIN,
to_symbol_types=[
symbol_conversion.SymbolTypes.RIC,
symbol_conversion.SymbolTypes.OA_PERM_ID
],
).get_data()
response.data.df
This returns the below Error.
File c:xxxxxxxxxx\lib\site-packages\refinitiv\data\delivery\_data\_data_provider_layer.py:126, in DataProviderLayer._check_response(self, response, config)
125 def _check_response(self, response: Response, config):
--> 126 _check_response(response, config)
File c:xxxxxxx\lib\site-packages\refinitiv\data\delivery\_data\_data_provider_layer.py:33, in _check_response(response, config, response_class)
30 error = RDError(error_code, error_message)
32 error.response = response
---> 33 raise error
RDError: Error code 404 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Not Found</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Not Found</h2>
<hr><p>HTTP Error 404. The requested resource is not found.</p>
</BODY></HTML>
any direction appreciated.