Handle Non JSON response from server.