When service goes into invalid state the application returns status code 404 which is not a valid JSON response.
So the target application will throw following error.
ERROR [182866178 ] Unable to deserialize
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was NUMBER at line 1 column 4 path $
Need to have a better way to handle service failure
When service goes into invalid state the application returns status code
404
which is not a valid JSON response.So the target application will throw following error.
Need to have a better way to handle service failure