Documentation inconsistent, Cannot POST /sxs/v1
I am struggling to get past the handshake part of the quickstart:
- JSON in the text does not match JSON in the screenshot. (productid+apikey vs appkey?)
- The API Key Generator is now the Application ID Generator? Maybe why there is inconsistency in screenshot?
- With the version in the screenshot, I get a 404 error back
Best Answer
-
Yes, you are correct. From the log file, your account doesn't have a permission to use Side by Side Integration API. You can use Eikon Data API (APIPROXY).
If your account has a permission to use Side by Side Integration API, you should see SIDEBYSIDE in the log.
[2018-05-18 09:02:57.611|prod] (app) PO: APIPROXY, SIDEBYSIDE
You can contact your TR account team to verify the account's type of your Eikon login.
0
Answers
-
The handshake command should look like this:
{
"command": "handshake",
"apiKey": "YOUR_API_KEY",
"productId": "YOUR_APP_ID"
}The app you need to use to generate a key is API KEY GENERATOR.
0 -
Hi, I have now found the correct app and generated a key and product id, still getting a 404 and "Cannot POST /sxs/v1/", which sounds quite a different problem from having a malformed request. Should say the ping works as expected.
0 -
You're right, it sounds like a different problem. I'm a bit confused by your mention of the ping. Are you running Postman and Eikon on the same machine? If yes, could you check of EikonBox.exe owns local TCP port 9000? Run "netstat -anb" from Command Prompt (you'll need local Admin privileges). If EikonBox.exe owns port 9000 you should see in the output of netstat:
[EikonBox.exe]
TCP 127.0.0.1:9000 0.0.0.0:0 LISTENING0 -
Both running on the same machine, ping mention was just to say that it works
Have checked EikonBox is listening on Port 9000.
Still getting the same error on the handshake.
Fully expect it's something strange with my laptop setup, just can't figure out how to figure it out!
Only other distinguishing feature is a header of "X-ID→18624.13" (13 increments each time I send a request).
0 -
Having read https://community.developers.refinitiv.com/questions/24579/python-api-cannot-post-404-error.html looks like my account may not be setup as I expected - shall contact account manager and see.
0 -
Please share your SxS log (SxS.<datetime>.<pid>.txt) which is in Eikon Logs path (C:\ProgramData\Thomson Reuters\Eikon Data\Logs\TRD\Eikon.<datetime>.<pid>).
0 -
@jirapongse.phuriphanvichai I have attached the log here sxs20180518100242p12408.txt. My understanding from the previous thread is the line
[2018-05-18 09:02:57.611|prod] (app) PO: APIPROXY
Should read
[2018-05-18 09:02:57.611|prod] (app) PO: APIPROXY, SIDEBYSIDE
Is this correct? If so, how do I get this setup?
0 -
Yes this was indeed the issue and is now sorted. Although the documentation images are still inconsistent, and perhaps a more useful error message (an actual 403?) would help!
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛