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 /
  • WebSocket API /

For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by JoJo · Apr 16, 2021 at 09:26 AM · pythonwebsocketsrrtorefinitiv-realtime-optimised

Refinitiv Data Platform authentication HTTP code: 400 Bad Request

Hi May I know if the examples provided in Download is the same as those in Gitlab. Reason asking is that in the QuickStart has mentioned that "The Refinitiv Real-Time - Optimized Quick Start example application is available for download at Refinitiv Developer Community: WebSocket API download page or Refinitiv/websocket-api: GitHub page. "


However I found the files have different names

- In Download page below it is "market_price_edpgw_service_discovery.py"

- In Gitlab page it is "market_price_rdpgw_service_discovery.py "


And when I tried to run the example as guided in the Quick Start

python market_price_rdpgw_service_discovery.py --user xxxx --password xxx --clientid xxx

I got the following errors

Refinitiv Data Platform authentication HTTP code: 400 Bad Request

Can you please advise what may have been wrong? Thanks

1618564949440.png (36.7 KiB)

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 umer.nalla · Apr 16, 2021 at 10:26 AM

Hi @JoJo

Apologies - the rdp_aws_examples.zip file should have been deleted - which I have now done (the RDP examples are contained within the main Websocket API Sample Applications zip file in an RDP subfolder and should be identical to the GitHub versions)

Can you confirm you are providing the correct parameters:

  • -user = is the MachineID you would have received in a Welcome email e.g. GE-A-01234567-0-1234
  • -password = the long password set using the above Welcome email link
  • -clientID = the AppKey generated using App Key Generator (and clicking the EDP API checkbox)

Details of the key generator and other information can be found in the Websocket API - RRTO QuickStart

If you are using the correct parameters, please provide some more of the output - before and after the error.

Please do NOT include any username, password or clientID in the shared output.

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
REFINITIV
Answer by umer.nalla · Apr 16, 2021 at 11:12 AM

Hi @JoJo

I have just checked and I don't see any MachineID allocated to an account linked to your email address. If this is the case, please reach out to your Refinitiv Account contact and discuss the possibility of a trial.

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

Related Questions

Cannot save message information to my database

prefix "/" on RIC name

make sure that api.refinitiv.com is used for Service Discovery

Real-Time - Optimized: Change in Service Discovery Request for WebSocket API - Ticket 13104

Web Socket API - Process implementation Confirmation

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges