For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 4

How can I retrieve news stories with invalid JSON characters in Eikon API?

I am currently working on a project in Python and making use of the Eikon API to collect news data and calculate their sentiment. I use the get_news_story() function to get the story text for calculating its sentiment. In doing so, I sometimes get an error as shown below:

1636974412798.pngI can't analyze the text in the news story for invalid characters without collecting it, and I can't collect it if it contains an invalid character. Can anyone help me with this issue please?

eikon-data-apinewsjsonsentiment
1636974412798.png (25.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
1.7k 2 4 7

hi @azzopardic ,

This sounds like an issue in the backend side. Could you please provide this information with the code used and submit the ticket to the Refinitiv helpdesk for an investigation.

select Product and Content > The product does not work as expected


1636981724205.png



1636981724205.png (17.7 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea