...hile it works using RDP API in the Codebook application in Workspace?
Asking on behalf of a client:
"I can access the data (end-of-day prices for EA.O) using the RDP API in the Codebook application in Workspace. Data comes back nice and tidy as per the request.
When I run the exact same code in my stand-alone python environment I get the error message below. It seems that I’m allowed access to the data via the API while in the WS Codebook app, but not via the API accessing it via my Python code.
Would it be possible to have the same rights using the API from my stand-alone code as in the WS Codebook app?
API error message:
Error for RIC EA.O:{'id': 'bf0701ae-c643-4f7b-b6bb-18133ebc77a0', 'code': 'insufficient_scope', 'message': 'access denied. Scopes required to access the resource: [trapi.data.historical-pricing.summaries.read]. Missing scopes: [trapi.data.historical-pricing.summaries.read]', 'status': 'Forbidden'}
Thank you for your assistance."
More information:
- Issue started yesterday. This is the first time I’ve used the refinitiv.dataplatform library in a stand-alone application, I’ve only used it in CodeBook in Workspaces before where it has worked every time.
- It happens every time I run the stand-alone application.
- Tried another RIC “ERICb.ST” with the same error message about insufficient_scope.
- Versions:
- Python 3.7.10
- Eikon 1.1.2
- Refinitiv 1.0.0a7.post7