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
5 0 1 2

Having Trouble Registering API Key

I have a user having issues registering API key. Getting the errors below:

User is Litwiller, Dane in case it's a permissioning error.

2023-12-22 09:47:02,005 P[11976] [MainThread 2340] Error code 403 | Client Error: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- FileName: index.html
     Language: [en]
-->
<!--Head-->
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <meta http-equiv="X-UA-Compatible" content="IE=7" />
  <title>McAfee Web Gateway - Notification</title>
  <script src="/mwg-internal/de5fs23hu73ds/files/javascript/sw.js" type="text/javascript" ></script>
  <link rel="stylesheet" href="/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css" />
</head>
<!--/Head-->
<!--Body-->
<body onload="swOnLoad();">
  <table class='bodyTable'>
    <tr>
      <td class='bodyData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
<!--
background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
-->
<!--Logo-->
<table class='logoTable'>
  <tr>
    <td class='logoData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg-main.gif'>
        <img src='/mwg-internal/de5fs23hu73ds/files/default/img/logo-banner.gif' style="padding-top:0px;">
    </td>
  </tr>
</table>
<!--/Logo-->
<!--Contents--> 
<!-- FileName: URLBlocked.html
     Language: [en]
-->
<!--Title-->
<table class='titleTable' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>
  <tr>
    <td class='titleData'>
      Blocked by URL Filter Database
    </td>
  </tr>
</table>
<!--/Title-->
 
<!--Content-->
<table class="contentTable">
  <tr>
    <td class="contentData">
      <b>Dear Customer</b>,<p>The requested website is blocked.  The URL is listed in categories that are not allowed by your administrator at this time.  Please contact your CSL to submit a site review request.</p><br /><br />
    </td>
  </tr>
</table>
<!--/Content-->
 
<!--Info-->
<table class="infoTable">
  <tr>
    <td class="infoData">
      <font size="2">
      <b>User: </b>"" - <b>(</b>10.243.142.2<b>)</b><br />
      <b>Site URL: </b><script type="text/javascript">break_line("http://127.0.0.1:9060/api/v1/data");</script><br /><br />
        <script type="text/javascript">
          writeToDocument("<b>Categories: </b>" + "" );
        </script><br />
      <b>Web Reputation: </b>Unverified<br />
      <b>Resolved IP: </b>127.0.0.1<br />
      </font>
    </td>
  </tr>
</table>
<!--/Info-->
<!--/Contents-->
<!--Policy-->
<table class='policyTable'>
  <tr>
    <td class='policyHeading'>
      <hr>
      <br />
<!--
      Company Acceptable Use Policy
-->
    </td>
  </tr>
  <tr>
    <td class='policyData'>
 
<!--
This is an optional acceptable use disclaimer that appears on every page. You may change the wording or remove this section entirely in index.html.
-->
 
    </td>
  </tr>
</table>
<!--/Policy-->
<!--Foot-->
<table class='footTable'>
  <tr>
    <td class='helpDeskData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg-main.gif'>
      For assistance, please contact the ASC helpdesk.
    </td>
  </tr>
  <tr>
    <td class='footData'>
      Generated <span id="time">2023-12-22 09:47:01</span> by <b>ATXMWG1</b>
      <br />
      Rule Name: <b>Block by IP address</b>
      <br />
      python-httpx/0.26.0
    </td>
  </tr>
</table>
<!--/Foot-->
      </td>
    </tr>
  </table>
</body>
<!--/Body-->
</html>
 
<!-- Diagnostic Information
URL:http://127.0.0.1:9060/api/v1/data
URL.Host:127.0.0.1
URL.Destination.IP:127.0.0.1
URL.Categories:
 
URL.Reputation:15
URL.ReputationString:Unverified  
URL.Geolocation:
 
System.HostName: ATXMWG1
System.UUID: C0C5CC00-436C-11E8-906E-0012795D9712
http://Error.ID:0
Error.Message: 
http://Rules.CurrentRule.ID:5467
Rules.CurrentRule.Name: Block by IP address
Rules.CurrentRuleSet.Name: Server URL Filtering
Cycle.Name: Request
Cycle.TopName: Request
List.LastMatches:
 
URL.FileExtension:
URL.FileName:data
Body.FileName:data
Body.FullFileName:data
 
Block.Reason:Blocked by URL filtering
http://Block.ID:10
 
Proxy.IP: 10.241.187.183
Proxy.Port: 80
Client.IP:10.243.142.2
 
Authentication.CacheRemaingTime:0
Authentication.Failed:false
Authentication.FailureReason.Message:(0)
Authentication.IsAuthenticated:false
Authentication.IsLandingOnServer:false
Authentication.IsServerRequest:false
Authentication.Method:
Authentication.Realm:
Authentication.UserName:
Authentication.UserGroups:
 
Header.Request.Get(Accept):application/json
Header.Request.Get(Accept-Encoding):gzip, deflate
Header.Request.Get(Host):127.0.0.1:9060
Header.Request.Get(Referer):
Header.Request.Get(User-Agent):python-httpx/0.26.0
Header.Request.Get(Via):
Header.Request.Get(X-Forwarded-For):
 
Header.Response.Get(Content-Length):
Header.Response.Get(Content-Type):text/html
Header.Response.Get(Server):
Header.Response.Get(Via):
Header.Response.Get(X-Forwarded-For):
 
Application.Name:
 
-->
2023-12-22 09:47:02,006 P[11976] [MainThread 2340] HTTP request failed: EikonError-Client Error: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- FileName: index.html
     Language: [en]
-->
<!--Head-->
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <meta http-equiv="X-UA-Compatible" content="IE=7" />
  <title>McAfee Web Gateway - Notification</title>
  <script src="/mwg-internal/de5fs23hu73ds/files/javascript/sw.js" type="text/javascript" ></script>
  <link rel="stylesheet" href="/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css" />
</head>
<!--/Head-->
<!--Body-->
<body onload="swOnLoad();">
  <table class='bodyTable'>
    <tr>
      <td class='bodyData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
<!--
background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
-->
<!--Logo-->
<table class='logoTable'>
  <tr>
    <td class='logoData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg-main.gif'>
        <img src='/mwg-internal/de5fs23hu73ds/files/default/img/logo-banner.gif' style="padding-top:0px;">
    </td>
  </tr>
</table>
<!--/Logo-->
<!--Contents--> 
<!-- FileName: URLBlocked.html
     Language: [en]
-->
<!--Title-->
<table class='titleTable' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>
  <tr>
    <td class='titleData'>
      Blocked by URL Filter Database
    </td>
  </tr>
</table>
<!--/Title-->
 
<!--Content-->
<table class="contentTable">
  <tr>
    <td class="contentData">
      <b>Dear Customer</b>,<p>The requested website is blocked.  The URL is listed in categories that are not allowed by your administrator at this time.  Please contact your CSL to submit a site review request.</p><br /><br />
    </td>
  </tr>
</table>
<!--/Content-->
 
<!--Info-->
<table class="infoTable">
  <tr>
    <td class="infoData">
      <font size="2">
      <b>User: </b>"" - <b>(</b>10.243.142.2<b>)</b><br />
      <b>Site URL: </b><script type="text/javascript">break_line("http://127.0.0.1:9060/api/v1/data");</script><br /><br />
        <script type="text/javascript">
          writeToDocument("<b>Categories: </b>" + "" );
        </script><br />
      <b>Web Reputation: </b>Unverified<br />
      <b>Resolved IP: </b>127.0.0.1<br />
      </font>
    </td>
  </tr>
</table>
<!--/Info-->
<!--/Contents-->
<!--Policy-->
<table class='policyTable'>
  <tr>
    <td class='policyHeading'>
      <hr>
      <br />
<!--
      Company Acceptable Use Policy
-->
    </td>
  </tr>
  <tr>
    <td class='policyData'>
 
<!--
This is an optional acceptable use disclaimer that appears on every page. You may change the wording or remove this section entirely in index.html.
-->
 
    </td>
  </tr>
</table>
<!--/Policy-->
<!--Foot-->
<table class='footTable'>
  <tr>
    <td class='helpDeskData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg-main.gif'>
      For assistance, please contact the ASC helpdesk.
    </td>
  </tr>
  <tr>
    <td class='footData'>
      Generated <span id="time">2023-12-22 09:47:01</span> by <b>ATXMWG1</b>
      <br />
      Rule Name: <b>Block by IP address</b>
      <br />
      python-httpx/0.26.0
    </td>
  </tr>
</table>
<!--/Foot-->
      </td>
    </tr>
  </table>
</body>
<!--/Body-->
</html>
 
<!-- Diagnostic Information
URL:http://127.0.0.1:9060/api/v1/data
URL.Host:127.0.0.1
URL.Destination.IP:127.0.0.1
URL.Categories:
 
URL.Reputation:15
URL.ReputationString:Unverified  
URL.Geolocation:
 
System.HostName: ATXMWG1
System.UUID: C0C5CC00-436C-11E8-906E-0012795D9712
http://Error.ID:0
Error.Message: 
http://Rules.CurrentRule.ID:5467
Rules.CurrentRule.Name: Block by IP address
Rules.CurrentRuleSet.Name: Server URL Filtering
Cycle.Name: Request
Cycle.TopName: Request
List.LastMatches:
 
URL.FileExtension:
URL.FileName:data
Body.FileName:data
Body.FullFileName:data
 
Block.Reason:Blocked by URL filtering
http://Block.ID:10
 
Proxy.IP: 10.241.187.183
Proxy.Port: 80
Client.IP:10.243.142.2
 
Authentication.CacheRemaingTime:0
Authentication.Failed:false
Authentication.FailureReason.Message:(0)
Authentication.IsAuthenticated:false
Authentication.IsLandingOnServer:false
Authentication.IsServerRequest:false
Authentication.Method:
Authentication.Realm:
Authentication.UserName:
Authentication.UserGroups:
 
Header.Request.Get(Accept):application/json
Header.Request.Get(Accept-Encoding):gzip, deflate
Header.Request.Get(Host):127.0.0.1:9060
Header.Request.Get(Referer):
Header.Request.Get(User-Agent):python-httpx/0.26.0
Header.Request.Get(Via):
Header.Request.Get(X-Forwarded-For):
 
Header.Response.Get(Content-Length):
Header.Response.Get(Content-Type):text/html
Header.Response.Get(Server):
Header.Response.Get(Via):
Header.Response.Get(X-Forwarded-For):
 
Application.Name:
 
-->
---------------------------------------------------------------------------
EikonError                                Traceback (most recent call last)
File ~\AppData\Roaming\Python\Python311\site-packages\eikon\json_requests.py:127, in send_json_request(entity, payload, debug)
    126     else:
--> 127         _raise_for_status(response)
    128 except httpx.TimeoutException as timeout_exception:
 
File ~\AppData\Roaming\Python\Python311\site-packages\eikon\json_requests.py:271, in _raise_for_status(response)
    270 logger.error(u'Error code {} | {}'.format(response.status_code, error_msg))
--> 271 raise EikonError(response.status_code, error_msg)
 
EikonError: Error code 403 | Client Error: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- FileName: index.html
     Language: [en]
-->
<!--Head-->
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <meta http-equiv="X-UA-Compatible" content="IE=7" />
  <title>McAfee Web Gateway - Notification</title>
  <script src="/mwg-internal/de5fs23hu73ds/files/javascript/sw.js" type="text/javascript" ></script>
  <link rel="stylesheet" href="/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css" />
</head>
<!--/Head-->
<!--Body-->
<body onload="swOnLoad();">
  <table class='bodyTable'>
    <tr>
      <td class='bodyData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
<!--
background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
-->
<!--Logo-->
<table class='logoTable'>
  <tr>
    <td class='logoData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg-main.gif'>
        <img src='/mwg-internal/de5fs23hu73ds/files/default/img/logo-banner.gif' style="padding-top:0px;">
    </td>
  </tr>
</table>
<!--/Logo-->
<!--Contents--> 
<!-- FileName: URLBlocked.html
     Language: [en]
-->
<!--Title-->
<table class='titleTable' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>
  <tr>
    <td class='titleData'>
      Blocked by URL Filter Database
    </td>
  </tr>
</table>
<!--/Title-->
 
<!--Content-->
<table class="contentTable">
  <tr>
    <td class="contentData">
      <b>Dear Customer</b>,<p>The requested website is blocked.  The URL is listed in categories that are not allowed by your administrator at this time.  Please contact your CSL to submit a site review request.</p><br /><br />
    </td>
  </tr>
</table>
<!--/Content-->
 
<!--Info-->
<table class="infoTable">
  <tr>
    <td class="infoData">
      <font size="2">
      <b>User: </b>"" - <b>(</b>10.243.142.2<b>)</b><br />
      <b>Site URL: </b><script type="text/javascript">break_line("http://127.0.0.1:9060/api/v1/data");</script><br /><br />
        <script type="text/javascript">
          writeToDocument("<b>Categories: </b>" + "" );
        </script><br />
      <b>Web Reputation: </b>Unverified<br />
      <b>Resolved IP: </b>127.0.0.1<br />
      </font>
    </td>
  </tr>
</table>
<!--/Info-->
<!--/Contents-->
<!--Policy-->
<table class='policyTable'>
  <tr>
    <td class='policyHeading'>
      <hr>
      <br />
<!--
      Company Acceptable Use Policy
-->
    </td>
  </tr>
  <tr>
    <td class='policyData'>
 
<!--
This is an optional acceptable use disclaimer that appears on every page. You may change the wording or remove this section entirely in index.html.
-->
 
    </td>
  </tr>
</table>
<!--/Policy-->
<!--Foot-->
<table class='footTable'>
  <tr>
    <td class='helpDeskData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg-main.gif'>
      For assistance, please contact the ASC helpdesk.
    </td>
  </tr>
  <tr>
    <td class='footData'>
      Generated <span id="time">2023-12-22 09:47:01</span> by <b>ATXMWG1</b>
      <br />
      Rule Name: <b>Block by IP address</b>
      <br />
      python-httpx/0.26.0
    </td>
  </tr>
</table>
<!--/Foot-->
      </td>
    </tr>
  </table>
</body>
<!--/Body-->
</html>
 
<!-- Diagnostic Information
URL:http://127.0.0.1:9060/api/v1/data
URL.Host:127.0.0.1
URL.Destination.IP:127.0.0.1
URL.Categories:
 
URL.Reputation:15
URL.ReputationString:Unverified  
URL.Geolocation:
 
System.HostName: ATXMWG1
System.UUID: C0C5CC00-436C-11E8-906E-0012795D9712
http://Error.ID:0
Error.Message: 
http://Rules.CurrentRule.ID:5467
Rules.CurrentRule.Name: Block by IP address
Rules.CurrentRuleSet.Name: Server URL Filtering
Cycle.Name: Request
Cycle.TopName: Request
List.LastMatches:
 
URL.FileExtension:
URL.FileName:data
Body.FileName:data
Body.FullFileName:data
 
Block.Reason:Blocked by URL filtering
http://Block.ID:10
 
Proxy.IP: 10.241.187.183
Proxy.Port: 80
Client.IP:10.243.142.2
 
Authentication.CacheRemaingTime:0
Authentication.Failed:false
Authentication.FailureReason.Message:(0)
Authentication.IsAuthenticated:false
Authentication.IsLandingOnServer:false
Authentication.IsServerRequest:false
Authentication.Method:
Authentication.Realm:
Authentication.UserName:
Authentication.UserGroups:
 
Header.Request.Get(Accept):application/json
Header.Request.Get(Accept-Encoding):gzip, deflate
Header.Request.Get(Host):127.0.0.1:9060
Header.Request.Get(Referer):
Header.Request.Get(User-Agent):python-httpx/0.26.0
Header.Request.Get(Via):
Header.Request.Get(X-Forwarded-For):
 
Header.Response.Get(Content-Length):
Header.Response.Get(Content-Type):text/html
Header.Response.Get(Server):
Header.Response.Get(Via):
Header.Response.Get(X-Forwarded-For):
 
Application.Name:
 
-->
 
During handling of the above exception, another exception occurred:
 
EikonError                                Traceback (most recent call last)
Cell In[2], line 1
----> 1 ratings_data, err = tr.get_data(instruments=['0#.SPX'], 
      2                                 fields=['TR.CommonName',
      3                                         'TR.IssuerRating(IssuerRatingSrc=SPI)',
      4                                         'TR.IssuerRating(IssuerRatingSrc=SPI,Sdate=-10Y)'])
      5 ratings_data.head()
 
File ~\AppData\Roaming\Python\Python311\site-packages\eikon\data_grid.py:190, in get_data(instruments, fields, parameters, field_name, raw_output, debug)
    187 if _endpoint == DataGridAsync_UDF_endpoint:
    188     payload = {'requests': [payload]}
--> 190 result = eikon.json_requests.send_json_request(_endpoint, payload, debug=debug)
    192 if result.get('responses'):
    193     result = result['responses'][0]
 
File ~\AppData\Roaming\Python\Python311\site-packages\eikon\json_requests.py:134, in send_json_request(entity, payload, debug)
    132 except EikonError as eikon_err:
    133     logger.error(f"HTTP request failed: {type(eikon_err).__name__}-{eikon_err.message}")
--> 134     raise EikonError(eikon_err.code, eikon_err.message)
    135 except httpx.ConnectTimeout as connect_timeout:
    136     logger.debug(f'HTTP ConnectTimeout: {connect_timeout}')
 
EikonError: Error code 403 | Client Error: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<!-- FileName: index.html
     Language: [en]
-->
<!--Head-->
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <meta http-equiv="X-UA-Compatible" content="IE=7" />
  <title>McAfee Web Gateway - Notification</title>
  <script src="/mwg-internal/de5fs23hu73ds/files/javascript/sw.js" type="text/javascript" ></script>
  <link rel="stylesheet" href="/mwg-internal/de5fs23hu73ds/files/default/stylesheet.css" />
</head>
<!--/Head-->
<!--Body-->
<body onload="swOnLoad();">
  <table class='bodyTable'>
    <tr>
      <td class='bodyData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
<!--
background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_body.gif'>
-->
<!--Logo-->
<table class='logoTable'>
  <tr>
    <td class='logoData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg-main.gif'>
        <img src='/mwg-internal/de5fs23hu73ds/files/default/img/logo-banner.gif' style="padding-top:0px;">
    </td>
  </tr>
</table>
<!--/Logo-->
<!--Contents--> 
<!-- FileName: URLBlocked.html
     Language: [en]
-->
<!--Title-->
<table class='titleTable' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg_navbar.jpg'>
  <tr>
    <td class='titleData'>
      Blocked by URL Filter Database
    </td>
  </tr>
</table>
<!--/Title-->
 
<!--Content-->
<table class="contentTable">
  <tr>
    <td class="contentData">
      <b>Dear Customer</b>,<p>The requested website is blocked.  The URL is listed in categories that are not allowed by your administrator at this time.  Please contact your CSL to submit a site review request.</p><br /><br />
    </td>
  </tr>
</table>
<!--/Content-->
 
<!--Info-->
<table class="infoTable">
  <tr>
    <td class="infoData">
      <font size="2">
      <b>User: </b>"" - <b>(</b>10.243.142.2<b>)</b><br />
      <b>Site URL: </b><script type="text/javascript">break_line("http://127.0.0.1:9060/api/v1/data");</script><br /><br />
        <script type="text/javascript">
          writeToDocument("<b>Categories: </b>" + "" );
        </script><br />
      <b>Web Reputation: </b>Unverified<br />
      <b>Resolved IP: </b>127.0.0.1<br />
      </font>
    </td>
  </tr>
</table>
<!--/Info-->
<!--/Contents-->
<!--Policy-->
<table class='policyTable'>
  <tr>
    <td class='policyHeading'>
      <hr>
      <br />
<!--
      Company Acceptable Use Policy
-->
    </td>
  </tr>
  <tr>
    <td class='policyData'>
 
<!--
This is an optional acceptable use disclaimer that appears on every page. You may change the wording or remove this section entirely in index.html.
-->
 
    </td>
  </tr>
</table>
<!--/Policy-->
<!--Foot-->
<table class='footTable'>
  <tr>
    <td class='helpDeskData' background='/mwg-internal/de5fs23hu73ds/files/default/img/bg-main.gif'>
      For assistance, please contact the ASC helpdesk.
    </td>
  </tr>
  <tr>
    <td class='footData'>
      Generated <span id="time">2023-12-22 09:47:01</span> by <b>ATXMWG1</b>
      <br />
      Rule Name: <b>Block by IP address</b>
      <br />
      python-httpx/0.26.0
    </td>
  </tr>
</table>
<!--/Foot-->
      </td>
    </tr>
  </table>
</body>
<!--/Body-->
</html>
 
<!-- Diagnostic Information
URL:http://127.0.0.1:9060/api/v1/data
URL.Host:127.0.0.1
URL.Destination.IP:127.0.0.1
URL.Categories:
 
URL.Reputation:15
URL.ReputationString:Unverified  
URL.Geolocation:
 
System.HostName: ATXMWG1
System.UUID: C0C5CC00-436C-11E8-906E-0012795D9712
http://Error.ID:0
Error.Message: 
http://Rules.CurrentRule.ID:5467
Rules.CurrentRule.Name: Block by IP address
Rules.CurrentRuleSet.Name: Server URL Filtering
Cycle.Name: Request
Cycle.TopName: Request
List.LastMatches:
 
URL.FileExtension:
URL.FileName:data
Body.FileName:data
Body.FullFileName:data
 
Block.Reason:Blocked by URL filtering
http://Block.ID:10
 
Proxy.IP: 10.241.187.183
Proxy.Port: 80
Client.IP:10.243.142.2
 
Authentication.CacheRemaingTime:0
Authentication.Failed:false
Authentication.FailureReason.Message:(0)
Authentication.IsAuthenticated:false
Authentication.IsLandingOnServer:false
Authentication.IsServerRequest:false
Authentication.Method:
Authentication.Realm:
Authentication.UserName:
Authentication.UserGroups:
 
Header.Request.Get(Accept):application/json
Header.Request.Get(Accept-Encoding):gzip, deflate
Header.Request.Get(Host):127.0.0.1:9060
Header.Request.Get(Referer):
Header.Request.Get(User-Agent):python-httpx/0.26.0
Header.Request.Get(Via):
Header.Request.Get(X-Forwarded-For):
 
Header.Response.Get(Content-Length):
Header.Response.Get(Content-Type):text/html
Header.Response.Get(Server):
Header.Response.Get(Via):
Header.Response.Get(X-Forwarded-For):
 
Application.Name:
eikon-data-api#technologyappkey
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.

@richard.willingham01

The client's email has been removed.

Please avoid posting the client's email on the public forum.

Hi @richard.willingham01 ,

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

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@richard.willingham01

Thank you for reaching out to us.

I checked the content in the returned HTML and found that it could be sent by the McAfee Web Gateway running on the client environment.


1703562487011.png

The client should contact the client's IT support team to verify the network or firewall settings.


1703562487011.png (7.3 KiB)
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. We passed this information along to the client, and he came back with the following:

"I had IT turn off the proxy, and I attempted to re-run a script. I am still having issues.

1703785360267.png

My IT guy asked why the software sends loopback traffic / 127.0.0.1 to proxy.

Isn’t it also odd that I am able to use the Eikon desktop app through the proxy settings, but for some reason, the API does not work?"

Would someone please be able to assist with this question/issue?

Is there any specific IP addresses that need whitelisting from your end?
@jimmie.coulom

Eikon Data API retreives the data from the Eikon Proxy API server running on the same machine so it uses the loopback address to connect to the localhost.

Regarding the whitelist IP addresses, please contact the Eikon or Workspace support team directly.

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.