Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
HI All,
I wrote a service in the server. This service will throw an exception on some failure cases.
The js code snippet which i wrote in the server to throw the exception is below:
if
{
}
else {
throw ("A device with ID already exists.");
}
Later i developed a .NET application which uses C# SDK v5.6.5 and invoked the service.
My expectation was that, i must get the exception string in the failure scenarios.
But on failure scenarios, i am getting below exception in the client application:
"TwApiException was cought"
"Error invoking Service for Entity. Internal Server Error. (Code 1110)"
Tobin,
We've had a customer see this error before. Can you take a look at this discussion and let us know if this is also what you're seeing and if any of the suggestions helped with your issue?
.NET SDK help - {"Error invoking Service for Entity. Internal Server Error. (Code 1110)"}
Jeremy,
I had gone through this link earlier. But this is a different problem
Basically what i would like to know is that:
Can i receive an exception thrown from TWX service, in the client application where i call this service?
Currently i am getting an entirely different exception, i.e.
"TwApiException was cought"
"Error invoking Service for Entity. Internal Server Error. (Code 1110)"