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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 2

Eikon data API in Python: Backend error. Failed to deserialize backend response

Hi, I'm trying to scraping the ship fixture data using the code below

reuters_result=ek.get_data(str(imo),["TR.AssetLoadingDateFrom;TR.AssetLoadingDateTo;TR.AssetCharterer;TR.AssetFreight;TR.AssetFreightType;TR.AssetFlowTradeComments;TR.AssetTradeType;TR.AssetDischargeDate;TR.AssetFlowComments"],{"TOP":1000, "CH": "Fd", "RH": "IN"})

Errors occured for 'TR.AssetFlowComments' field:

Backend error. Failed to deserialize backend response. Expected valid JSON. Error: invalid character 'A' looking for beginning of value
eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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.

Upvote
Accepted
39.2k 75 11 27

@yangyang1991sg
The best way to go about investigating this issue is to capture the HTTP request and response using say Fiddler and then report the issue to Refinitiv Helpdesk for investigation. I suggest you use Contact Us capability in your Eikon application to contact the Helpdesk. Make sure to include Fiddler capture when opening the case through Contact Us.

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.

Upvotes
1 0 0 0

I get this same error message, with the get_news_headlines method. Is there a known solution to this issue?

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.

Hi @middleoffice

This accepted question was in 2019 and there are several changes to the API.

Please start a new thread and provide your snippet code.

Thanks.

Click below to post an Idea Post Idea