Question
"TwApiException was cought" - getting this exception while invoking a service
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)"

