For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
2 1 1 3

Different set of errors from Refinitiv during EOD.

Hi,

I tried to setup EOD request for more than 500 RICs. There are some inconsistent errors recorded.

Few error were -(401) Unauthorized.), (502) Bad Gateway.). And some of the request received from Refinitiv is blank. Could you please help me what could be the reason for this kind of errors? Like I said , it random during the EOD.

1) EOD 00:30 CET --> Able to get prices.

2) EOD 1:00 CET --> Error

3)EOD 2:00 CET--> Error

4) EOD 3:00 CET --> Able to get prices but the prices received count from 00:30 CET and 3:00 CET is different.

1678197851034.png


Could you please guide me on above different set of error noticed?

#technologydss-rest-apidatascope-selectapierror-401error-502
1678197851034.png (240.8 KiB)
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.

1 Answer

· Write an Answer
Upvotes
Accepted
80.3k 259 52 75

@sudan.pandey

Thanks for reaching out to us.

You need to check and record the HTTP status codes of the retrieved responses. If it is 401 Unauthorized, the token may be invalid and you may need to get a new token. If it is 502, it could be a server and network issue and you may need to contact the DSS support team or network team to verify the problem.

However, the application should implement logic to handle these kinds of problems.

In some cases, the HTTP status code could be 202 Accepted.

1678244590013.png

This indicates that the extraction is still in-progress on the server. The Headers will contain the Location which contains a monitor URL which can be used to query the status of the extraction.

1678244712283.png

Therefore, the application should send a HTTP GET reuest to this URL to query the status of the extraction and get the output.

I hope that this information is of help.



1678244590013.png (41.9 KiB)
1678244712283.png (27.2 KiB)
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.

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.