Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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