Handle null response gracefully