Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by charles.malafosse · Feb 27, 2019 at 08:07 AM · python api eikonerror code 401

Keep getting EikonError: Error code 401 | Client Error: Unauthorized - Eikon API Proxy requires authentication.

Hello,

For some reasons, I keep getting the following error when using the python API:

EikonError: Error code 401 | Client Error: Unauthorized - Eikon API Proxy requires authentication.

I simply connect doing the following but then receive the error when using ek.get_data

import pandas as pd

import eikon as ek

ek.set_app_key('XXXXXhidden for postXXXXXX')

The eikon terminal and the excel addin work fine. I checked and rechecked my key on the app key generator and it is the correct one.

Could someone help me on this please? Fyi I use windows and python 3.6 with spyder. When restarting the machine it disappears.

Many thanks.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Zhenya Kovalyov · Feb 27, 2019 at 08:56 AM

@charles.malafosse could you try restarting your Eikon please?

Comment
dmitry.sarin

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by charles.malafosse · Feb 27, 2019 at 03:19 PM

Thank you Zhenya. That was indeed the issue. Why would this happens? Everthing works fine but the python api gets somehow disconnected? Many thanks

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
dmitry.sarin · Feb 28, 2019 at 03:09 AM 0
Share

I face the same issue. The restart worked but the next day I get the same error

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

How can I download 13-f filing data since its first issue using python API?

Retrieve LAST_QUOTE from Eikon API using python

How to use TR.LotSize as a time-series?

Find available fields for a given instrument(power exchange spot price)

Trying to find Delivery Date for corn FOB/CIF data

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges