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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 1 0 3

Application ID Generator Error ("http or parse error")

At the moment I am trying to set up the Python API for TR Eikon. When I follow the manual provided by TR (https://developers.thomsonreuters.com/tr-eikon-scripting-apis/python-tr-eikon-scripting-library-eap/quick-start) I constantly receive the error message "http or parsing error" after hitting the "Generate a new Application ID"-button.

As I am far from being a coding/computing professional my first intuition was to contact the TR support. The telephone support (surprisingly) told me to post my question in this forum instead. Any help is highly appreciated.

Thank you in advance and best regards!

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonapiapp-key
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 Johannes, what is your EIKON version ? What are the results of a systemtest?

Hello Norbert,

thanks for the quick reply!

The Eikon version is Desktop 4.0.4. I also performed a system check and add the results to this post (eikon-system-check.pdf, I hope this is fine for this forum). I have difficulties interpreting the check results and assessing what could cause the "http or parse error". The test output states "Internet Availability Test: Internet is not accessible", Eikon internet access seems to work fine though.

Hello Johannes, thanks for the information, with pressing CTRL-SHFT-j you will be able to open the Devtools console. What is the response in the Network section ?

The first hidden string is a valid app id.

capture.jpg (47.6 KiB)

Hello Johannes, for my understanding you do not need to install Chrome. This is total different to Chromium framework. But i noticed a errormessage in your screenshot ( firefox ) - connection could not ... - can you provide more details.

Or better send me a PM

Hello Norbert,

this is a screenshot containing the firefox Devtools screen for a firefox session in which the only thing I did was to open the TR Application Generator (https://emea1.apps.cp.thomsonreuters.com/Apps/ApplicationIDGenerator) and to generate a test application (unsuccessfully):

The error causing the failure should thus be contained in the screenshot.

(There is no option for private messages as far as I can tell.)

screenshot-217.png (41.4 KiB)
Upvote
Accepted
39.3k 76 11 27

@johannes.braun
At the moment there's no validation of app IDs for this API. You can use any non empty string in set_app_id method. We will soon (in a few weeks) start validating the app keys. At that point only the app keys generated using a new app key generator, which should be published next week, will be considered valid. So, there's no advantage in generating an app key using existing app key generator today. For now just use any non empty string. And then replace it with the app ID generated using the new app key generator once it is published.

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.

Great, that works perfect for now! Thanks to all!

Upvotes
3 1 0 3

I am a firefox user and its Devtools equivalent showed the following error message (unfortunalety I was not able to switch the message reporting to english language so far and thus hope the german report can be understood and a potential solution lateron translated for other interested forum users):

(Check the appendix version for better readability.)

Eikon however states in the System Test that Internet Explorer is the used browser ("Browser Version: Internet Explorer 11"). Does that matter?

As a check I just now also installed the newest version of Chrome, set it as the standard browser and tried the Eikon Application Generator again, without success. The Chrome Devtools only contains the following entries:

I once again hope my limited coding knowledge is excused! Thank you in advance!


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.