Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • ETA /
avatar image
Question by Serge · Aug 13, 2019 at 02:58 AM · eta apirefresh token

Refreshing token returns error 400 (iPlanet session has been expired.)

After getting authentication token, we refresh it every 4/5 of the expire time (approx. 4 min).
From time to time (sometimes several times a day, sometimes once every few days), such refresh_token requests fail with 400 error and message "iPlanet session has been expired."

What can cause such error? How to prevent it?

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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by nick.zincone.1 · Aug 13, 2019 at 09:58 AM

Hi @Serge,

Are you experiencing the token expires approximately every 18 hours? This may be the reason why it is happening. I believe there is a setting within your specific account that may have set this up - I believe it is the default. In addition to what you are doing, i.e. refreshing every 4/5 of the expire time, you can also refresh apply 4/5 of the 18 hour window. I would also reach out to your Refinitiv account manager to see if this setting can be turned off.

Comment
Serge

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
REFINITIV
Answer by john.chant · Aug 13, 2019 at 05:46 AM

I too get this response. I have an application that I use to test the EDP API similar to Postman but one that I wrote myself.

I run up two instances I1 and I2.

I1 GetAccessToken (grant_type=password) returns access_token and refresh_token.

I2 GetAccessToken(grant_type=password)returns access_token and refresh_token.

I1 RefreshTokens (grant_type=refresh_token) returns 'iPlanet session has been expired'

I2 RefreshTokens (grant_type=refresh_token) returns access_token and refresh_token.

I1 RefreshTokens (grant_type=refresh_token) returns 'Refresh token does not exist.'

Same client_id for both instances.

Comment

People who like this

0 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 Serge · Aug 13, 2019 at 07:05 PM

Thank you @nick.zincone.1

This may be it. We are currently evaluating Elektron in Cloud service and have trial ID that probably has that setting you mentioned.

Comment

People who like this

0 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.

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 >
7 People are following this question.

Related Questions

Lost the MARKET PRICE capabilities on active session

Reusing data dictionary across connections

ETA group format

Handling suspect message from ETA API

What is the name of the ETA log file and where is it

  • 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