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?

Answers

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

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

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