Hello,
I'm using Python to call chains from aip.refinitiv.com to obtain the RIC. However, I get a 403 Forbidden error. However, I can obtain the RIC directly from https://apidocs.refinitiv.com/.
1, I'm wondering if this is a problem with my Python token settings or a permissions issue.
2, Does it require permissions for the client_id in addition to the rdp account?
3, Also, is the client_id the machine id or the api key configured in the app key generator?
(venv) PS C:\Users\jacky\waton> & C:/Users/jacky/waton/venv/Scripts/python.exe c:/Users/jacky/waton/chains.pyRetrieving underlying RICs of chain RIC: 0#UNIVERSE.NB
HTTP Status: 403 Forbidden
Error retrieving underlying RICs: 403 Forbidden
Error details: {'error': {'id': 'd7ca2bc0-1735-4895-b0fa-0c64948abca3', 'code': 'insufficient_scope', 'message': 'access denied. Scopes required to access the resource: [trapi.data.pricing.read]. Missing scopes: [trapi.data.pricing.read]', 'status': 'Forbidden'}}
Failed to retrieve RICs for 0#UNIVERSE.NB