Added error response for server errors