Checks and correct the response object depending on the possible kinds of returns.
an endpoint response object.
EndpointResponse Returns the job error if the error is due to parsing, returns the http error otherwise.
Checks and correct the response object depending on the possible kinds of returns.