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?

Best Answer

  • raksina.samasiri
    Answer ✓

    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