Fixed an exception with an empty response

error messages