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