Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

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

Hello @yangyang1991sg,

Did you have a chance to collect HTTP traffic as suggested by @Alex Putkov.?

We would appreciate if you could update us with the findings, it would help future developers with similar issues toward a solution.

Thanks,

AHS

Hello @yangyang1991sg

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvote
Accepted
39.4k 77 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 512.0 KiB each and 1.0 MiB total.

Hello @yangyang1991sg,

Did you have a chance to collect HTTP traffic as suggested by @Alex Putkov.?

We would appreciate if you could update us with the findings, it would help future developers with similar issues toward a solution.

-AHS

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 512.0 KiB each and 1.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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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