printErrorResponse

Method to print the error response of the request No-any params required