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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 0

Hello Team, I have a client receiving error code 202 when submitting the query in API. Client says this is not good for they want to know if by removing "Prefer": "respond-async" from requestHeaders will help? Thanks!

#technology#productapi
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.

@Harold.Alfaro

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

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

1 Answer

· Write an Answer
Upvote
Accepted
22.2k 59 14 21

Hi @Harold.Alfaro,

HTTP 202 is not an error, but means to receive the data which takes long processing time. They can remove this header to perform a synchronous request, but then the application will be susceptible to network connection issues and they may loose all the data which server might have prepared for this client. Specifically, the Refinitiv network firewalls will disconnect connections which are idle for more then 25 minutes.

Developer can read about async requests here.


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.