Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi,
I am working on creating custom service in thingworx composer and implemented Try-Catch.
But could not able fetch the exception details from client program using c# or httpClient.
Getting generic error message like "Response status code does not indicate success: 500 ()."
How to collect actual service error message/code from client program like timeout error or other... based on error., use retry mechanism.
Thanks,
Gopi.
Hi @gvyakaranam
Here's another community post with an example. For more detailed information, check out this article.
Regards.
--Sharon
Hi Sharon,
Thanks for the information. But these articles are showing to log at server level, and it can be visible in script log.
But I would like to respond/inform this error info to client request instead of 500 error code. Kindly let me know on the same.
Thanks
Gopi
Hi @gvyakaranam.
The resource provided was just an example of something you can do--it doesn't have to be logging.
Regards.
--Sharon