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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 2 2 3

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."
}
}
]

elektronrefinitiv-realtimeelektron-sdkrefinitiv-data-platformwebsockets
icon clock
10 |1500

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

Hello @krishna muppavarapu,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


Upvotes
Accepted
32.2k 40 11 20

Hello @krishna muppavarapu,

Providing current error codes on authentication request from API Playground:

Responses

Response content typeapplication/json

CodeDescription200

OK

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

icon clock
10 |1500

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

Upvotes
32.2k 40 11 20

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?

icon clock
10 |1500

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

Hi @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.


Hi @krishna muppavarapu,

Could you please clarify:

Are you requesting interday pricing history via HTTP REST API, from PriceHsitory RDP service, such as in this tutorial?

Is your machine ID permissioned for this service, because price history is not included with realtime, it's a separate product that is purchased and entitled separately from realtime content.

If you have either purchased the history service or are in trial, evaluating, then we need to find out why you are not permissioned.

If you do not have the product then not permissioned is the expected response?


Upvotes
32.2k 40 11 20

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.

icon clock
10 |1500

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

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

@krishna muppavarapu,

Please confirm you have purchased or are on evaluation of EDP price history service? If that is not the case, you will not be able to access this documentation or content. If you would like purchase or to evaluate, your Refinitiv account management team will be able to help you.

If yes, please confirm that user and password credentials that you are using to login into API Playground are specifically user and password that were communicated to you for EDP access, and not developers portal credentials?

Thanks

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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