The most recent content from our members.
Greetings, I was able to retrieve a valid access token using: export ACCESS_TOKEN=$(curl -s -X POST "https://api.refinitiv.com/auth/oauth2/v1/token" -H "Content-Type: application/x-www-form-urlencoded" -d…
I am using the LSEG Data SDK in Python and can query other endpoints successfully, but the news headlines endpoint fails with a scope error. Minimal example: import lseg.data as ld ld.open_session() # using configured credentials df = ld.news.get_headlines( query=["LSEG.L"], count=10 ) print(df.head()) ld.close_session()…
LDError Traceback (most recent call last) Cell In[4], line 1 ----> 1 df = ld.get_data( 2 universe = ['ORAN.PA'], 3 fields = ['TR.CompanyName', 'TR.InvestorFullName', 'TR.InvParentType', 'TR.InvestorType', 4 'TR.InvInvestmentStyleCode','TR.SharesHeld', 'TR.PctOfSharesOutHeld', 5 'TR.InvestorAddrCity', 'TR.InvAddrCountry' 6…
In Real-Time WebSocket API: The Real-Time Optimized Version 2 , i am trying to get the URL list from the “Requesting Service Discovery” as below try: r = requests.get(url, headers={"Authorization": "Bearer " + auth_token}, params={"transport": "websocket"}, allow_redirects=False) except requests.exceptions.RequestException…
I am getting the below error when I try to get market data from "https://api.refinitiv.com/data/pricing/snapshots/v1/" URL access denied. Scopes required to access the resource: [trapi.data.pricing.read]. Missing scopes: [trapi.data.pricing.read]
Hello, I was trying to extract the price for NVDA by the code below but got a 403 Error. Can you help me on that? import refinitiv.data as rd from refinitiv.data.content import pricing quote = rd.content.pricing.Definition( "NVDA.O", fields=["BID", "ASK", "TRDPRC_1"] ).get_data() RDError: Error code 403 | access denied.…
Dear LSEG Developer Community, I am encountering an "insufficient scope" error when using the LSEG Data Library for Python (version 2.1.1) to retrieve snapshot pricing data for EUR= and GBP= via ld.get_data. Despite successful authentication and session opening, the request fails with a 403 Forbidden error due to missing…
We are developing a Java application to programmatically download Initiation reports for specific companies using the Refinitiv Research API via REST requests. However, we are encountering a permission error indicating insufficient scope when attempting to access certain endpoints. Problem Details: Objective: Download…
I'm aiming to the following and getting insufficient_scope error, please see images for reference.
Hi, I am trying to use the python news sample jupyter notebook, but after connecting I getting this error 'Missing scopes: {'trapi.data.news.read'}' Can you tell me how to add the scope so the sample works please? thanks, Adrian
When running the following code, I have received an error: I have contacted the helpdesk, but they referred me to this forum. Could anyone help me further?
I am using RDP API to get data from resource https://api.refinitiv.com/data/funds/v1/assets In the rquest, a Bearer type token obtained from https://api.refinitiv.com/auth/oauth2/v1/token is being sent. The problem is that I am getting the following error: ### Request POST https://api.refinitiv.com/data/funds/v1/assets…
I am trying to retrieve some ESG data for a given ticker. I am getting an Error Code 403 | access denied. Here is a snippet of code: tst_ric = 'LTR.AX' response = esg.standard_measures.Definition(tst_ric).get_data() response.data.df This code leads to the following error: RDError: Error code 403 | access denied. Scopes…
It looks like you're new here. Sign in or register to get started.