Eikon API|Error code 403 | Client Error: Target service not allowed

Hi,
I'm trying to connect the local Eikon API Proxy through our local hosted Anaconda Jupyter NB/Labs.
So far, the I've done all the steps listed in throubleshooting catalog:
The proxy is up and running on localhost.
Your assistance is much appreciated.
BR...
All in all I can use the generated APPkey in Eikons nativ "Workspace". When trying to use the same code cells (and Library) i get the following error massage:
Error code 403 | Client Error: Target service not allowed - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>The requested URL could not be retrieved</title>
<link href="http://passthrough.fw-notify.net/static/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://passthrough.fw-notify.net/static/default.js"></script> cells (and Library) i get the following error massage:
Best Answer
-
According to this guide "Error code 403 | Client Error: Target service not allowed" error code suggests that you are not permissioned to access Eikon Data API. So you would need to contact your Account manager to get the access.
In the meantime as suggested in this thread as well, you can consider using Codebook (cloud-hosted Jupyter notebook within Eikon Desktop/Refinitiv Workspace).
Type in "CODEBK" in the Eikon Desktop/Refinitiv Workspace search bar and press enter to launch the app.
Hope this help.
Best regard,
Haykaz
0
Answers
-
Hi Haykaz,
sure, thank you for your prompt response:
import refinitiv.data.eikon as ek
ek.set_app_key('05-------------------------------b')
df, err = ek.get_data(['PEUP.PA','EUR=', 'JPY='], [ 'BID','ASK'])
df... as you can see it's my first try to establish an connection.
BR
0 -
plus: the messages of the proxy links:
http://127.0.0.1:9060/api/status{"statusCode":"ST_PROXY_READY","version":"3.5.4-eikon4"}
{"code":500,"message":"Cannot find module \".\"","statusMessage":"Internal Server Error"}
0 -
Hi @Th.Th
Can you try to access the http://localhost:9060/api/status URL via a web browser?
I noticed the "http://passthrough.fw-notify.net/static/XXXX" in the error message which is most likely to be related to your corporate firewall/proxy server. You may need to contact your IT support team to verify the firewall/proxy settings.
Another troubleshooting guide that should be helpful is the Eikon Data API and Refinitiv Data Library - Troubleshooting article.
0 -
Hi Haykaz,
ok, if i understand you correct I'm allowed to use the Workspace but not the Python API via local Proxy.
Regarding the firewall: Could you tell me the ports that has to be permissioned for accessing the service?
Many Thanks...
0 -
0
-
0
-
Hi @Th.Th
Based on the Eikon Data API and Refinitiv Data Library - Troubleshooting article, the API proxy uses ports 9000 and 9060 on the local machine by default.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 250 ETA
- 555 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛