question

Upvotes
Accepted
18 0 0 2

GetIntradayTimeSeries_5: error handling

It seems that the historical series requests in RKD do not return any error codes in response and every error condition should be handled as an exception: FaultException, CommunicationException etc,
Looking into the exception's FaultReason produces the text like ''Backend error: 'NOT_AUTHORIZED'".
Is there an exhaustive list of "reasons" or at least the set of fault categories that can be matched in the FaultReason.text or Exception.Message for the lack of a better alternative?

rkd-api
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.

Upvote
Accepted
76 1 0 2

Hi Patrick,

Not authorized would indicate your RKD API user ID is not permission to get the data for time series service and it needs to be permission to fetch the data subject to subscription of relevant packages.

Other type of erros can include -

Access_denied

unable to find company ID

Not_authorized


Thanks

Muzammil Shareif

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
16.7k 31 9 12

Hi @PatrickZ

Additionally, the list of common errors is as follows:

Time Series Service

Reason: when Invalid Symbol/RIC is used in the request.

  • Error Message: ReutersKnowledge.Web.Services.RkapiException: Invalid RIC specified. Backend error code 'ERR_NOSUCHRIC'

Reasons: RIC is not entitled/ permissioned.

  • Error Message: ReutersKnowledge.Web.Services.RkapiException: Backend error: 'NOT_AUTHORIZED' .

Token Management Service

Reason: When invalid credentials are passed in the request.

  • Error Message: ReutersKnowledge.Web.Services.RkapiException: Invalid user name or password.

All RKD Services

Reason: Throttling Error

  • Error Message: ReutersKnowledge.Web.Services.RkapiException: The maximum number of requests for your application ID, XX per second, has been exceeded. Service retrieval will be re-enabled once your usage drops below the threshold

Hope this helps.

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
18 0 0 2

Thanks! It gives some info, but I am looking for the documented and exhaustive list.
Unfortunately, unlike the Quote List service where there is the StatusMsg enum and the value is returned in the response, in the Time Series, the error handling had to be done using the exceptions.
The one that you mentioned are obvious, but there should be something documented for the backend....

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
16.7k 31 9 12

Hello @PatrickZ

I highly recommend you contact the RKD support team directly to help you with the document/error list in more detail. You can submit the ticket to the team via the https://my.refinitiv.com/content/mytr/en/productsupport.html website.

Please choose the "Refinitiv Knowledge Direct API" product.

contact-rkd-support-2.png


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.