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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
1 0 0 2

DSS RESTAPI extraction fatal error

We are doing some data extraction by call ExtractWithNotes in DSS REST API

var extractionResult = context.ExtractWithNotes(extractionRequest);

For time to time, this throw an exception. We check e.Message which only has this not too revealing message:

"An error occurred while sending the request."

Is there a better way of handling this?

dss-rest-apidatascope-selectdssrest-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.

@Joseph.Pang could you please provide more information on the issue you are having

Hi, @Joseph.Pang we are still waiting for your input. Could you please provide more information as requested by Rick and Troy?

I just sent an email directly to Joseph asking him to send more info. Let's wait one more week and choose "Never" as an answer due date.

Upvotes
1.1k 5 3 5

Can you capture the full reply of one of the failures in something like Fiddler? There should be a request correlation id in it that will greatly help the investigation.

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
465 3 5 3

As Rick mentioned we will need more information. This error is actually reported by the HttpClient (.Net) and it means that the HTTP connection to the server could not be made. My guess is that this is network related. If you could capture the call-stack at the point of failure we could provide further assistance.

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.