All possible status codes
Is there any list of all possible status codes for Refinitiv Websocket API and History data platform API
For eg for Interday history we get below response. We need to know all possible status codes so that we can map these codes to our known exceptions.
[
{
"universe": {
"ric": "TRI.N"
},
"status": {
"code": "TS.Interday.UserNotPermission.70112",
"message": "User does not have permission for this universe."
}
}
]
Best Answer
-
Hello @krishna muppavarapu,
Providing current error codes on authentication request from API Playground:
Responses
Response content typeapplication/json
CodeDescription200OK
- Example Value
- Model
{ "access_token": "string", "expires_in": "string", "refresh_token": "string", "scope": "string", "token_type": "string"
400
}Authentication error
- Example Value
- Model
{ "error": "string", "error_description": "string", "error_uri": "string"
401
}Authentication error
- Example Value
- Model
{ "error": "string", "error_description": "string", "error_uri": "string"
403
}Authentication error
- Example Value
- Model
{ "error": "string", "error_description": "string", "error_uri": "string"
500
}Internal server error
- Example Value
- Model
{ "error": "string", "error_description": "string", "error_uri": "string"
502
}Upstream server error
- Example Value
- Model
{ "error": "string", "error_description": "string", "error_uri": "string"
504
}Upstream server error
- Example Value
- Model
{ "error": "string", "error_description": "string", "error_uri": "string"
}In addition, if you have an EDP product, and the credentials to access, but are unable to log into API Playground documentation, suggest contact you Refinitiv Account team to verify your assigned credentials.
0
Answers
-
Hello @krishna muppavarapu,
The information you are looking for is in most instances not specific to Elektron Websocket API, it it not originated with the API, rather it is conveyed from the infrastructure where it is generated to the consumer client application via API.
Depending on what infrastructure you are connecting to, this information on the errors can be best found in guides for that infrastructure,
For Elektron Realtine in cloud, some of this info is listed in ERT in Cloud Guide in section Error Responses.
For deployed TREP connections, the infra endpoint you are connecting to is ADS, and ADS Installation guide will list and explain the errors that originate with it in ADS Error Messages section.
The error message you are looking at is neither of these categories, it's a permission error, that means that user requesting TRI.N RIC is not permissioned to access TRI.N.
Should the user be perrmissioned for this instrument?
If not sure, it may be useful to ascertain what instruments the user is permissioned for, and it may be useful to to request delayed, non-fee-liable "\TRI.N" to test in the meantime.
Does this info help?
0 -
zoya.farberov We connect to ERT in cloud using websocket api. I understand about the http response error codes from this API, but if the history http status is OK and response json has a status code. Then how do we know what are all status codes that can come from underlying api?
I just gave one example of user not permission status code but we need to know other possible status codes.
0 -
Hello @krishna muppavarapu,
RDP Pricing History service is documented via RDP API Playground (EAP)
Within Playground, filter History service, pick the sub-service "interday", and follow to Reference tab for the documentation.
There you will find RDP Pricing History errors, including the error that you are seeing.
0 -
@zoya.farberov Thank you for your reply. I tried to use API playground but getting authentication failed. Please see the screenshot.
Please let me know how to get access to this content.
0
Categories
- All Categories
- 6 AHS
- 39 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
- 370 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛